Class JceOpenSSLPKCS8DecryptorProviderBuilderBC
java.lang.Object
com.itextpdf.bouncycastle.openssl.jcajce.JceOpenSSLPKCS8DecryptorProviderBuilderBC
- All Implemented Interfaces:
-
IJceOpenSSLPKCS8DecryptorProviderBuilder
public class JceOpenSSLPKCS8DecryptorProviderBuilderBC extends Object implements IJceOpenSSLPKCS8DecryptorProviderBuilder
Wrapper class for
JceOpenSSLPKCS8DecryptorProviderBuilder
.
-
Constructor Summary
ConstructorDescriptionJceOpenSSLPKCS8DecryptorProviderBuilderBC
(org.bouncycastle.openssl.jcajce.JceOpenSSLPKCS8DecryptorProviderBuilder providerBuilder) Creates new wrapper instance forJceOpenSSLPKCS8DecryptorProviderBuilder
. -
Method Summary
Modifier and TypeMethodDescriptionbuild
(char[] password) Calls actualbuild
method for the wrapped JceOpenSSLPKCS8DecryptorProviderBuilder object.boolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.openssl.jcajce.JceOpenSSLPKCS8DecryptorProviderBuilder
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.setProvider
(Provider provider) Calls actualsetProvider
method for the wrapped JceOpenSSLPKCS8DecryptorProviderBuilder object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
JceOpenSSLPKCS8DecryptorProviderBuilderBC
public JceOpenSSLPKCS8DecryptorProviderBuilderBC(org.bouncycastle.openssl.jcajce.JceOpenSSLPKCS8DecryptorProviderBuilder providerBuilder) Creates new wrapper instance forJceOpenSSLPKCS8DecryptorProviderBuilder
.- Parameters:
-
providerBuilder
-JceOpenSSLPKCS8DecryptorProviderBuilder
to be wrapped
-
-
Method Details
-
getProviderBuilder
public org.bouncycastle.openssl.jcajce.JceOpenSSLPKCS8DecryptorProviderBuilder getProviderBuilder()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
JceOpenSSLPKCS8DecryptorProviderBuilder
.
-
setProvider
Calls actualsetProvider
method for the wrapped JceOpenSSLPKCS8DecryptorProviderBuilder object.- Specified by:
-
setProvider
in interfaceIJceOpenSSLPKCS8DecryptorProviderBuilder
- Parameters:
-
provider
-Provider
to be set - Returns:
- this builder
-
build
Calls actualbuild
method for the wrapped JceOpenSSLPKCS8DecryptorProviderBuilder object.- Specified by:
-
build
in interfaceIJceOpenSSLPKCS8DecryptorProviderBuilder
- Parameters:
-
password
-char[]
which represents password for the private key - Returns:
-
IInputDecryptorProvider
input decryptor provider - Throws:
-
OperatorCreationExceptionBC
-
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.
-