| Modifier and Type | Field and Description |
|---|---|
| private final CharToByteConverter | |
| private final char[] |
| Access | Constructor and Description |
|---|---|
| public | PBKDF2Key(char[]
password to use. password, CharToByteConverter converter)Basic constructor for a password based key using PBKDF - secret key generation parameters will be passed separately.. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the string "PBKDF2"Implements java. |
| public byte[] | Returns: the password converted to a byte array.Implements java. |
| public String | Returns: the type name representing a char[] to byte[] conversion.Implements java. |
| public char[] | Returns: a reference to the password array.Return a reference to the char[] array holding the password. |
| converter | back to summary |
|---|---|
| private final CharToByteConverter converter | |
| password | back to summary |
|---|---|
| private final char[] password | |
| PBKDF2Key | back to summary |
|---|---|
| public PBKDF2Key(char[] password, CharToByteConverter converter) Basic constructor for a password based key using PBKDF - secret key generation parameters will be passed separately..
| |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements java. Return the password based key derivation function this key is for,
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Return the password converted to bytes.
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. Return the format encoding.
| |
| getPassword | back to summary |
|---|---|
| public char[] getPassword() Return a reference to the char[] array holding the password.
| |