public class JcePKCSPBEOutputEncryptorBuilder extends Object
Constructor and Description |
---|
JcePKCSPBEOutputEncryptorBuilder(ASN1ObjectIdentifier algorithm) |
Modifier and Type | Method and Description |
---|---|
OutputEncryptor |
build(char[] password) |
JcePKCSPBEOutputEncryptorBuilder |
setIterationCount(int iterationCount)
Set the iteration count for the PBE calculation.
|
JcePKCSPBEOutputEncryptorBuilder |
setKeySizeProvider(SecretKeySizeProvider keySizeProvider)
Set the lookup provider of AlgorithmIdentifier returning key_size_in_bits used to
handle PKCS5 decryption.
|
JcePKCSPBEOutputEncryptorBuilder |
setProvider(Provider provider) |
JcePKCSPBEOutputEncryptorBuilder |
setProvider(String providerName) |
public JcePKCSPBEOutputEncryptorBuilder(ASN1ObjectIdentifier algorithm)
public JcePKCSPBEOutputEncryptorBuilder setProvider(Provider provider)
public JcePKCSPBEOutputEncryptorBuilder setProvider(String providerName)
public JcePKCSPBEOutputEncryptorBuilder setKeySizeProvider(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 OutputEncryptor build(char[] password) throws OperatorCreationException
OperatorCreationException
Copyright © 2018 BouncyCastle.org. All rights reserved.