public class OpenSSLEncryptionScheme extends AbstractEncryptionScheme
| Constructor and Description |
|---|
OpenSSLEncryptionScheme(org.bouncycastle.crypto.BufferedBlockCipher cipher,
byte[] salt,
int keyBitLength,
char[] password)
Creates a new instance using the given parameters.
|
OpenSSLEncryptionScheme(OpenSSLAlgorithm algorithm,
byte[] iv,
char[] password)
Creates a new instance from an algorithm and salt data.
|
public OpenSSLEncryptionScheme(org.bouncycastle.crypto.BufferedBlockCipher cipher,
byte[] salt,
int keyBitLength,
char[] password)
cipher - Buffered block cipher algorithm.salt - Salt data for key generation function.keyBitLength - Size of derived keys in bits.password - Password used to derive key.public OpenSSLEncryptionScheme(OpenSSLAlgorithm algorithm, byte[] iv, char[] password)
algorithm - OpenSSL key encryption algorithm.iv - Explicit IV; first 8 bytes also used for salt in PBE key generation.password - Password used to derive key.Copyright © 2003-2024 Virginia Tech. All Rights Reserved.