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.


Variable Index

 o ident

Constructor Index

 o PBEKey(char[])
The basic constructor

Method Index

 o getAlgorithm()
returns the algorithm for this key.
 o getEncoded()
returns a null since there is no encoded form.
 o getFormat()
returns the format for this key.
 o getPassword()
Returns the password.

Variables

 o ident
 public static final String ident

Constructors

 o PBEKey
 public PBEKey(char pwd[])
The basic constructor

Parameters:
pwd - the bytes making up the key.

Methods

 o getAlgorithm
 public String getAlgorithm()
returns the algorithm for this key.

Returns:
the string "PBE"
 o getFormat
 public String getFormat()
returns the format for this key.

Returns:
the string "RAW"
 o getEncoded
 public byte[] getEncoded()
returns a null since there is no encoded form.

Returns:
the key as a byte array
 o getPassword
 public char[] getPassword()
Returns the password. This method is specific to the PBE implementation


All Packages  Class Hierarchy  This Package  Previous  Next  Index