Class JcaPEMKeyConverterBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.openssl.jcajce.JcaPEMKeyConverterBCFips
- All Implemented Interfaces:
-
IJcaPEMKeyConverter
Wrapper class for
JcaPEMKeyConverter
.
-
Constructor Summary
ConstructorDescriptionJcaPEMKeyConverterBCFips
(org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter keyConverter) Creates new wrapper instance forJcaPEMKeyConverter
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter
Gets actual org.bouncycastle object being wrapped.getPrivateKey
(IPrivateKeyInfo privateKeyInfo) Calls actualgetPrivateKey
method for the wrapped JcaPEMKeyConverter object.int
hashCode()
Returns a hash code value based on the wrapped object.setProvider
(Provider provider) Calls actualsetProvider
method for the wrapped JcaPEMKeyConverter object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
JcaPEMKeyConverterBCFips
public JcaPEMKeyConverterBCFips(org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter keyConverter) Creates new wrapper instance forJcaPEMKeyConverter
.- Parameters:
-
keyConverter
-JcaPEMKeyConverter
to be wrapped
-
-
Method Details
-
getKeyConverter
public org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter getKeyConverter()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
JcaPEMKeyConverter
.
-
setProvider
Calls actualsetProvider
method for the wrapped JcaPEMKeyConverter object.- Specified by:
-
setProvider
in interfaceIJcaPEMKeyConverter
- Parameters:
-
provider
-Provider
to be set - Returns:
- this converter
-
getPrivateKey
Calls actualgetPrivateKey
method for the wrapped JcaPEMKeyConverter object.- Specified by:
-
getPrivateKey
in interfaceIJcaPEMKeyConverter
- Parameters:
-
privateKeyInfo
-IPrivateKeyInfo
information about private key - Returns:
-
PrivateKey
private key instance - Throws:
-
PEMExceptionBCFips
-
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
DelegatestoString
method call to the wrapped object.
-