public class BcPKCS12PBEInputDecryptorProviderBuilder
extends java.lang.Object
InputDecryptorProvider that handles the PKCS#12 password-based
encryption schemes from RFC 7292 Appendix C (e.g. pbeWithSHAAnd3-KeyTripleDES-CBC).| Constructor and Description |
|---|
BcPKCS12PBEInputDecryptorProviderBuilder()
Default constructor — uses SHA-1 for the PKCS#12 KDF.
|
BcPKCS12PBEInputDecryptorProviderBuilder(org.bouncycastle.crypto.ExtendedDigest digest)
Construct a builder that uses an explicit digest for the PKCS#12 KDF.
|
| Modifier and Type | Method and Description |
|---|---|
InputDecryptorProvider |
build(char[] password)
Bind the builder to a password and return an
InputDecryptorProvider. |
public BcPKCS12PBEInputDecryptorProviderBuilder()
public BcPKCS12PBEInputDecryptorProviderBuilder(org.bouncycastle.crypto.ExtendedDigest digest)
digest - the digest implementation to drive the key derivation.public InputDecryptorProvider build(char[] password)
InputDecryptorProvider.password - the password used to derive the encryption key.