| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public | PKCS12KeyWithParameters(char[]
password to use. password, byte[] salt for generation algorithm salt, int iteration count for generation algorithm. iterationCount)Basic constructor for a password based key with generation parameters. |
| public | PKCS12KeyWithParameters(char[]
password to use. password, boolean use the incorrect encoding approach (add pad bytes) useWrongZeroLengthConversion, byte[] salt for generation algorithm salt, int iteration count for generation algorithm. iterationCount)Basic constructor for a password based key with generation parameters, specifying the wrong conversion for zero length passwords. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the iteration count to use in the KDF.Implements javax. Return the iteration count to use in the key derivation function. |
| public byte[] | Returns: the salt to use in the KDF.Implements javax. Return the salt to use in the key derivation function. |
| iterationCount | back to summary |
|---|---|
| private final int iterationCount | |
| salt | back to summary |
|---|---|
| private final byte[] salt | |
| PKCS12KeyWithParameters | back to summary |
|---|---|
| public PKCS12KeyWithParameters(char[] password, byte[] salt, int iterationCount) Basic constructor for a password based key with generation parameters.
| |
| PKCS12KeyWithParameters | back to summary |
|---|---|
| public PKCS12KeyWithParameters(char[] password, boolean useWrongZeroLengthConversion, byte[] salt, int iterationCount) Basic constructor for a password based key with generation parameters, specifying the wrong conversion for zero length passwords.
| |
| getIterationCount | back to summary |
|---|---|
| public int getIterationCount() Implements javax. Return the iteration count to use in the key derivation function.
| |
| getSalt | back to summary |
|---|---|
| public byte[] getSalt() Implements javax. Return the salt to use in the key derivation function.
| |