public class PBES1EncryptionScheme extends AbstractEncryptionScheme
Modifier and Type | Field and Description |
---|---|
static int |
IV_LENGTH
Number of bits IV.
|
static int |
KEY_LENGTH
Number of bits in derived key.
|
Constructor and Description |
---|
PBES1EncryptionScheme(PBES1Algorithm alg,
org.bouncycastle.asn1.pkcs.PBEParameter params,
char[] password)
Creates a new instance with the given parameters.
|
public static final int KEY_LENGTH
public static final int IV_LENGTH
public PBES1EncryptionScheme(PBES1Algorithm alg, org.bouncycastle.asn1.pkcs.PBEParameter params, char[] password)
alg
- Describes hash/algorithm pair suitable for PBES1 scheme.params
- Key generation function salt and iteration count.password
- Password used to derive key.Copyright © 2003-2024 Virginia Tech. All Rights Reserved.