public class PBKDF1Key extends Object implements PBKDFKey
serialVersionUID
Constructor and Description |
---|
PBKDF1Key(char[] password,
CharToByteConverter converter)
Basic constructor for a password based key with generation parameters for PBKDF1.
|
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, wait
destroy, isDestroyed
public PBKDF1Key(char[] password, CharToByteConverter converter)
password
- password to use.converter
- the converter to use to turn the char array into octets.public char[] getPassword()
public String getAlgorithm()
getAlgorithm
in interface Key
public String getFormat()
public byte[] getEncoded()
getEncoded
in interface Key
Copyright © 2020 BouncyCastle.org. All rights reserved.