Class au.net.aba.crypto.provider.RC4Key
All Packages Class Hierarchy This Package Previous Next Index
Class au.net.aba.crypto.provider.RC4Key
java.lang.Object
|
+----au.net.aba.crypto.provider.RC4Key
- public class RC4Key
- extends Object
- implements SecretKey, Externalizable
A class wrapper for RC4 keys.
-
ident
-
-
RC4Key()
- Construct an empty RC4Key.
-
RC4Key(byte[])
- Construct an RC4Key from a set of bytes.
-
getAlgorithm()
- return algorithm this key is for.
-
getEncoded()
- return an encoded representation of the key.
-
getFormat()
- return the format this key is in.
-
readExternal(ObjectInput)
-
-
writeExternal(ObjectOutput)
-
ident
public final static String ident
RC4Key
public RC4Key()
- Construct an empty RC4Key.
RC4Key
public RC4Key(byte b[])
- Construct an RC4Key from a set of bytes.
- Parameters:
- b - The data bytes.
getAlgorithm
public String getAlgorithm()
- return algorithm this key is for.
getFormat
public String getFormat()
- return the format this key is in.
getEncoded
public byte[] getEncoded()
- return an encoded representation of the key.
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
readExternal
public void readExternal(ObjectInput in) throws IOException
All Packages Class Hierarchy This Package Previous Next Index