Class au.net.aba.crypto.spec.RC4KeySpec
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class au.net.aba.crypto.spec.RC4KeySpec

java.lang.Object
   |
   +----au.net.aba.crypto.spec.RC4KeySpec

public class RC4KeySpec
extends Object
implements KeySpec
A class that provides a specification for a RC4 key.

Variable Index

 o ident

Constructor Index

 o RC4KeySpec(byte[])
Uses the first 16 bytes in key as the RC4 key
 o RC4KeySpec(byte[], int)
Uses the first len bytes in key as the RC4 key
 o RC4KeySpec(byte[], int, int)
Uses the first 16 bytes in key, beginning at offset, as the RC4 key

Method Index

 o getKey()
Returns the RC4 key.

Variables

 o ident
  public final static String ident

Constructors

 o RC4KeySpec
  public RC4KeySpec(byte key[]) throws InvalidKeyException
Uses the first 16 bytes in key as the RC4 key
 o RC4KeySpec
  public RC4KeySpec(byte key[],
                    int len) throws InvalidKeyException
Uses the first len bytes in key as the RC4 key
 o RC4KeySpec
  public RC4KeySpec(byte key[],
                    int offset,
                    int len) throws InvalidKeyException
Uses the first 16 bytes in key, beginning at offset, as the RC4 key

Methods

 o getKey
  public byte[] getKey()
Returns the RC4 key.

All Packages  Class Hierarchy  This Package  Previous  Next  Index