public class PBKDF2Key extends Object implements PBKDFKey
serialVersionUID| Constructor and Description |
|---|
PBKDF2Key(char[] 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 |
|---|---|
String |
getAlgorithm()
Return the password based key derivation function this key is for,
|
byte[] |
getEncoded()
Return the password converted to bytes.
|
String |
getFormat()
Return the format encoding.
|
char[] |
getPassword()
Return a reference to the char[] array holding the password.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedpublic PBKDF2Key(char[] password,
CharToByteConverter converter)
password - password to use.public char[] getPassword()
public String getAlgorithm()
getAlgorithm in interface Keypublic String getFormat()
public byte[] getEncoded()
getEncoded in interface KeyCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.