| Modifier and Type | Field and Description |
|---|---|
| private static final AlgorithmIdentifier | |
| private AlgorithmIdentifier |
| Access | Constructor and Description |
|---|---|
| public | PBKDF2KeySpec(char[]
password to use as the seed of the PBE key generator. password, byte[] salt to use in the generator, salt, int iteration count to use in the generator. iterationCount, int size of the key to be generated (in bits). keySize, AlgorithmIdentifier identifier and parameters for the PRF algorithm to use. prf)Base constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public AlgorithmIdentifier | |
| public boolean | Returns: true if this spec uses the default PRF, false otherwise.Return true if this spec is for the default PRF (HmacSHA1), false otherwise. |
| defaultPRF | back to summary |
|---|---|
| private static final AlgorithmIdentifier defaultPRF | |
| prf | back to summary |
|---|---|
| private AlgorithmIdentifier prf | |
| PBKDF2KeySpec | back to summary |
|---|---|
| public PBKDF2KeySpec(char[] password, byte[] salt, int iterationCount, int keySize, AlgorithmIdentifier prf) Base constructor.
| |
| getPrf | back to summary |
|---|---|
| public AlgorithmIdentifier getPrf() Return an AlgorithmIdentifier representing the PRF.
| |
| isDefaultPrf | back to summary |
|---|---|
| public boolean isDefaultPrf() Return true if this spec is for the default PRF (HmacSHA1), false otherwise.
| |