Class PKCS8EncryptedPrivateKeyInfoBC

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo privateKeyInfo  
    • Constructor Summary

      Constructors 
      Constructor Description
      PKCS8EncryptedPrivateKeyInfoBC​(org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo privateKeyInfo)
      Creates new wrapper instance for PKCS8EncryptedPrivateKeyInfo.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IPrivateKeyInfo decryptPrivateKeyInfo​(IInputDecryptorProvider decryptorProvider)
      Calls actual decryptPrivateKeyInfo method for the wrapped PKCS8EncryptedPrivateKeyInfo object.
      boolean equals​(java.lang.Object o)
      Indicates whether some other object is "equal to" this one.
      org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo getPrivateKeyInfo()
      Gets actual org.bouncycastle object being wrapped.
      int hashCode()
      Returns a hash code value based on the wrapped 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

      • privateKeyInfo

        private final org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo privateKeyInfo
    • Constructor Detail

      • PKCS8EncryptedPrivateKeyInfoBC

        public PKCS8EncryptedPrivateKeyInfoBC​(org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo privateKeyInfo)
        Creates new wrapper instance for PKCS8EncryptedPrivateKeyInfo.
        Parameters:
        privateKeyInfo - PKCS8EncryptedPrivateKeyInfo to be wrapped
    • Method Detail

      • getPrivateKeyInfo

        public org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo getPrivateKeyInfo()
        Gets actual org.bouncycastle object being wrapped.
        Returns:
        wrapped PKCS8EncryptedPrivateKeyInfo.
      • 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