|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.jcajce.PBKDF1Key
A password based key for use with PBKDF1 as defined in PKCS#5.
Field Summary |
Fields inherited from interface java.security.Key |
serialVersionUID |
Constructor Summary | |
PBKDF1Key(char[] password,
CharToByteConverter converter)
Basic constructor for a password based key with generation parameters for PBKDF1. |
Method Summary | |
java.lang.String |
getAlgorithm()
Return the password based key derivation function this key is for, |
byte[] |
getEncoded()
Return the password converted to bytes. |
java.lang.String |
getFormat()
Return the format encoding. |
char[] |
getPassword()
Return a reference to the char[] array holding the password. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PBKDF1Key(char[] password, CharToByteConverter converter)
password
- password to use.converter
- the converter to use to turn the char array into octets.Method Detail |
public char[] getPassword()
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |