Class JcaPEMKeyConverterBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.openssl.jcajce.JcaPEMKeyConverterBCFips
- All Implemented Interfaces:
-
IJcaPEMKeyConverter
Wrapper class for
JcaPEMKeyConverter.
-
Constructor Summary
ConstructorsConstructorDescriptionJcaPEMKeyConverterBCFips(org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter keyConverter) Creates new wrapper instance forJcaPEMKeyConverter. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.org.bouncycastle.openssl.jcajce.JcaPEMKeyConverterGets actual org.bouncycastle object being wrapped.getPrivateKey(IPrivateKeyInfo privateKeyInfo) Calls actualgetPrivateKeymethod for the wrapped JcaPEMKeyConverter object.inthashCode()Returns a hash code value based on the wrapped object.setProvider(Provider provider) Calls actualsetProvidermethod for the wrapped JcaPEMKeyConverter object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
JcaPEMKeyConverterBCFips
public JcaPEMKeyConverterBCFips(org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter keyConverter) Creates new wrapper instance forJcaPEMKeyConverter.- Parameters:
-
keyConverter-JcaPEMKeyConverterto be wrapped
-
-
Method Details
-
getKeyConverter
public org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter getKeyConverter()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
JcaPEMKeyConverter.
-
setProvider
Calls actualsetProvidermethod for the wrapped JcaPEMKeyConverter object.- Specified by:
-
setProviderin interfaceIJcaPEMKeyConverter - Parameters:
-
provider-Providerto be set - Returns:
- this converter
-
getPrivateKey
Calls actualgetPrivateKeymethod for the wrapped JcaPEMKeyConverter object.- Specified by:
-
getPrivateKeyin interfaceIJcaPEMKeyConverter - Parameters:
-
privateKeyInfo-IPrivateKeyInfoinformation about private key - Returns:
-
PrivateKeyprivate 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
DelegatestoStringmethod call to the wrapped object.
-