Class JcaPEMKeyConverterBC
java.lang.Object
com.itextpdf.bouncycastle.openssl.jcajce.JcaPEMKeyConverterBC
- All Implemented Interfaces:
-
IJcaPEMKeyConverter
Wrapper class for
JcaPEMKeyConverter.
-
Constructor Summary
ConstructorsConstructorDescriptionJcaPEMKeyConverterBC(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
-
JcaPEMKeyConverterBC
public JcaPEMKeyConverterBC(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:
-
PEMExceptionBC
-
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.
-