Package org.cryptacular.pbe
Class PBES2EncryptionScheme
java.lang.Object
org.cryptacular.pbe.AbstractEncryptionScheme
org.cryptacular.pbe.PBES2EncryptionScheme
- All Implemented Interfaces:
EncryptionScheme
Implements the PBES2 encryption scheme defined in PKCS#5v2.
- Version:
- $Revision: 2744 $
- Author:
- Middleware Services
-
Constructor Summary
ConstructorsConstructorDescriptionPBES2EncryptionScheme
(org.bouncycastle.asn1.pkcs.PBES2Parameters params, char[] password) Creates a new instance with the given parameters. -
Method Summary
Methods inherited from class org.cryptacular.pbe.AbstractEncryptionScheme
decrypt, decrypt, encrypt, encrypt, setCipher, setCipherParameters
-
Constructor Details
-
PBES2EncryptionScheme
public PBES2EncryptionScheme(org.bouncycastle.asn1.pkcs.PBES2Parameters params, char[] password) Creates a new instance with the given parameters.- Parameters:
params
- PBES2 parameters describing the key derivation function and encryption scheme.password
- Password used to derive key.
-