All Packages Class Hierarchy This Package Previous Next Index
Class au.net.aba.crypto.provider.PBEKey
java.lang.Object
|
+----au.net.aba.crypto.provider.PBEKey
- public class PBEKey
- extends Object
- implements SecretKey
A class wrapper for Blowfish keys.
-
ident
-
-
PBEKey(char[])
- The basic constructor
-
getAlgorithm()
- returns the algorithm for this key.
-
getEncoded()
- returns a null since there is no encoded form.
-
getFormat()
- returns the format for this key.
-
getPassword()
- Returns the password.
ident
public static final String ident
PBEKey
public PBEKey(char pwd[])
- The basic constructor
- Parameters:
- pwd - the bytes making up the key.
getAlgorithm
public String getAlgorithm()
- returns the algorithm for this key.
- Returns:
- the string "PBE"
getFormat
public String getFormat()
- returns the format for this key.
- Returns:
- the string "RAW"
getEncoded
public byte[] getEncoded()
- returns a null since there is no encoded form.
- Returns:
- the key as a byte array
getPassword
public char[] getPassword()
- Returns the password. This method is specific to the PBE implementation
All Packages Class Hierarchy This Package Previous Next Index