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.

Variable Index

 o ident

Constructor Index

 o RC4Key()
Construct an empty RC4Key.
 o RC4Key(byte[])
Construct an RC4Key from a set of bytes.

Method Index

 o getAlgorithm()
return algorithm this key is for.
 o getEncoded()
return an encoded representation of the key.
 o getFormat()
return the format this key is in.
 o readExternal(ObjectInput)
 o writeExternal(ObjectOutput)

Variables

 o ident
  public final static String ident

Constructors

 o RC4Key
  public RC4Key()
Construct an empty RC4Key.
 o RC4Key
  public RC4Key(byte b[])
Construct an RC4Key from a set of bytes.
Parameters:
b - The data bytes.

Methods

 o getAlgorithm
  public String getAlgorithm()
return algorithm this key is for.
 o getFormat
  public String getFormat()
return the format this key is in.
 o getEncoded
  public byte[] getEncoded()
return an encoded representation of the key.
 o writeExternal
  public void writeExternal(ObjectOutput out) throws IOException
 o readExternal
  public void readExternal(ObjectInput in) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index