Package org.cryptacular.generator
Class AESP12Generator.PBES2OutputEncryptorBuilder
java.lang.Object
org.cryptacular.generator.AESP12Generator.PBES2OutputEncryptorBuilder
- Enclosing class:
AESP12Generator
Builds an output encryptor based on PBKDF2 domain parameters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PBES2AlgorithmPBES2 encryption algorithm.private final org.bouncycastle.crypto.util.PBKDF2ConfigPBKDF2 domain parameters.private final SecureRandomSource of cryptographically-strong randomness. -
Constructor Summary
ConstructorsConstructorDescriptionPBES2OutputEncryptorBuilder(PBES2Algorithm encAlg, org.bouncycastle.crypto.util.PBKDF2Config config) -
Method Summary
Modifier and TypeMethodDescription(package private) org.bouncycastle.operator.OutputEncryptorbuild(char[] password)
-
Field Details
-
random
Source of cryptographically-strong randomness. -
encryptionAlg
PBES2 encryption algorithm. -
pbkdf2Config
private final org.bouncycastle.crypto.util.PBKDF2Config pbkdf2ConfigPBKDF2 domain parameters.
-
-
Constructor Details
-
PBES2OutputEncryptorBuilder
PBES2OutputEncryptorBuilder(PBES2Algorithm encAlg, org.bouncycastle.crypto.util.PBKDF2Config config)
-
-
Method Details
-
build
org.bouncycastle.operator.OutputEncryptor build(char[] password)
-