Class JcaPEMKeyConverterBC

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter keyConverter  
    • Constructor Summary

      Constructors 
      Constructor Description
      JcaPEMKeyConverterBC​(org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter keyConverter)
      Creates new wrapper instance for JcaPEMKeyConverter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Indicates whether some other object is "equal to" this one.
      org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter getKeyConverter()
      Gets actual org.bouncycastle object being wrapped.
      java.security.PrivateKey getPrivateKey​(IPrivateKeyInfo privateKeyInfo)
      Calls actual getPrivateKey method for the wrapped JcaPEMKeyConverter object.
      int hashCode()
      Returns a hash code value based on the wrapped object.
      IJcaPEMKeyConverter setProvider​(java.security.Provider provider)
      Calls actual setProvider method for the wrapped JcaPEMKeyConverter object.
      java.lang.String toString()
      Delegates toString method call to the wrapped object.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • keyConverter

        private final org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter keyConverter
    • Constructor Detail

      • JcaPEMKeyConverterBC

        public JcaPEMKeyConverterBC​(org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter keyConverter)
        Creates new wrapper instance for JcaPEMKeyConverter.
        Parameters:
        keyConverter - JcaPEMKeyConverter to be wrapped
    • Method Detail

      • getKeyConverter

        public org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter getKeyConverter()
        Gets actual org.bouncycastle object being wrapped.
        Returns:
        wrapped JcaPEMKeyConverter.
      • setProvider

        public IJcaPEMKeyConverter setProvider​(java.security.Provider provider)
        Calls actual setProvider method for the wrapped JcaPEMKeyConverter object.
        Specified by:
        setProvider in interface IJcaPEMKeyConverter
        Parameters:
        provider - Provider to be set
        Returns:
        this converter
      • equals

        public boolean equals​(java.lang.Object o)
        Indicates whether some other object is "equal to" this one. Compares wrapped objects.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Returns a hash code value based on the wrapped object.
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Delegates toString method call to the wrapped object.
        Overrides:
        toString in class java.lang.Object