public class JcePKCSPBEOutputEncryptorBuilder
extends java.lang.Object
Constructor and Description |
---|
JcePKCSPBEOutputEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.operator.OutputEncryptor |
build(char[] password) |
JcePKCSPBEOutputEncryptorBuilder |
setIterationCount(int iterationCount)
Set the iteration count for the PBE calculation.
|
JcePKCSPBEOutputEncryptorBuilder |
setKeySizeProvider(org.bouncycastle.operator.SecretKeySizeProvider keySizeProvider)
Set the lookup provider of AlgorithmIdentifier returning key_size_in_bits used to
handle PKCS5 decryption.
|
JcePKCSPBEOutputEncryptorBuilder |
setProvider(java.security.Provider provider) |
JcePKCSPBEOutputEncryptorBuilder |
setProvider(java.lang.String providerName) |
public JcePKCSPBEOutputEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm)
public JcePKCSPBEOutputEncryptorBuilder setProvider(java.security.Provider provider)
public JcePKCSPBEOutputEncryptorBuilder setProvider(java.lang.String providerName)
public JcePKCSPBEOutputEncryptorBuilder setKeySizeProvider(org.bouncycastle.operator.SecretKeySizeProvider keySizeProvider)
keySizeProvider
- a provider of integer secret key sizes.public JcePKCSPBEOutputEncryptorBuilder setIterationCount(int iterationCount)
iterationCount
- the iteration count to apply to the key creation.public org.bouncycastle.operator.OutputEncryptor build(char[] password) throws org.bouncycastle.operator.OperatorCreationException
org.bouncycastle.operator.OperatorCreationException