Class JcaPEMKeyConverterBC
java.lang.Object
com.itextpdf.bouncycastle.openssl.jcajce.JcaPEMKeyConverterBC
- All Implemented Interfaces:
IJcaPEMKeyConverter
Wrapper class for
JcaPEMKeyConverter.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.bouncycastle.openssl.jcajce.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.
-
Field Details
-
keyConverter
private final org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter keyConverter
-
-
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
-
hashCode
-
toString
-