Class PKCS8EncryptedPrivateKeyInfoBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.pkcs.PKCS8EncryptedPrivateKeyInfoBCFips
- All Implemented Interfaces:
-
IPKCS8EncryptedPrivateKeyInfo
public class PKCS8EncryptedPrivateKeyInfoBCFips extends Object implements IPKCS8EncryptedPrivateKeyInfo
Wrapper class for
PKCS8EncryptedPrivateKeyInfo.
-
Constructor Summary
ConstructorsConstructorDescriptionPKCS8EncryptedPrivateKeyInfoBCFips(org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo privateKeyInfo) Creates new wrapper instance forPKCS8EncryptedPrivateKeyInfo. -
Method Summary
Modifier and TypeMethodDescriptiondecryptPrivateKeyInfo(IInputDecryptorProvider decryptorProvider) Calls actualdecryptPrivateKeyInfomethod for the wrapped PKCS8EncryptedPrivateKeyInfo object.booleanIndicates whether some other object is "equal to" this one.org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
PKCS8EncryptedPrivateKeyInfoBCFips
public PKCS8EncryptedPrivateKeyInfoBCFips(org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo privateKeyInfo) Creates new wrapper instance forPKCS8EncryptedPrivateKeyInfo.- Parameters:
-
privateKeyInfo-PKCS8EncryptedPrivateKeyInfoto be wrapped
-
-
Method Details
-
getPrivateKeyInfo
public org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo getPrivateKeyInfo()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
PKCS8EncryptedPrivateKeyInfo.
-
decryptPrivateKeyInfo
public IPrivateKeyInfo decryptPrivateKeyInfo(IInputDecryptorProvider decryptorProvider) throws PKCSExceptionBCFips Calls actualdecryptPrivateKeyInfomethod for the wrapped PKCS8EncryptedPrivateKeyInfo object.- Specified by:
-
decryptPrivateKeyInfoin interfaceIPKCS8EncryptedPrivateKeyInfo - Parameters:
-
decryptorProvider-IInputDecryptorProviderwrapper to be used during decryption - Returns:
-
IPrivateKeyInfowrapper for private key info - Throws:
-
PKCSExceptionBCFips
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoStringmethod call to the wrapped object.
-