au.net.aba.crypto.provider
Class IDEAKey
java.lang.Object
|
+--au.net.aba.crypto.provider.IDEAKey
- public class IDEAKey
- extends java.lang.Object
- implements SecretKey
A class wrapper for Idea keys.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
ident
|
Constructor Summary |
IDEAKey(byte[] rawKey)
the basic constructor |
Method Summary |
java.lang.String |
getAlgorithm()
returns the algorithm for this key. |
byte[] |
getEncoded()
returns an encoded representation of this key. |
java.lang.String |
getFormat()
returns the format for this key. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ident
public static final java.lang.String ident
IDEAKey
public IDEAKey(byte[] rawKey)
- the basic constructor
getAlgorithm
public java.lang.String getAlgorithm()
- returns the algorithm for this key.
- Returns:
- the string "IDEA"
getFormat
public java.lang.String getFormat()
- returns the format for this key.
- Returns:
- the string "RAW"
getEncoded
public byte[] getEncoded()
- returns an encoded representation of this key.
- Returns:
- the key as a set of bytes.