gnu.crypto.jce.cipher

Class ARCFourSpi


public class ARCFourSpi
extends CipherSpi

The Service Provider Interface (SPI) for the ARCFOUR stream cipher.

Version:
$Revision: 1.1 $

Constructor Summary

ARCFourSpi()

Method Summary

protected byte[]
engineDoFinal(byte[] in, int offset, int length)
protected int
engineDoFinal(byte[] in, int inOffset, int length, byte[] out, int outOffset)
protected int
engineGetBlockSize()
protected byte[]
engineGetIV()
protected int
engineGetOutputSize(int in)
protected AlgorithmParameters
engineGetParameters()
protected void
engineInit(int mode, Key key, AlgorithmParameterSpec p, SecureRandom r)
protected void
engineInit(int mode, Key key, AlgorithmParameters p, SecureRandom r)
protected void
engineInit(int mode, Key key, SecureRandom r)
protected void
engineSetMode(String s)
protected void
engineSetPadding(String s)
protected byte[]
engineUpdate(byte[] in, int offset, int length)
protected int
engineUpdate(byte[] in, int inOffset, int length, byte[] out, int outOffset)

Constructor Details

ARCFourSpi

public ARCFourSpi()

Method Details

engineDoFinal

protected byte[] engineDoFinal(byte[] in,
                               int offset,
                               int length)
            throws IllegalBlockSizeException,
                   BadPaddingException


engineDoFinal

protected int engineDoFinal(byte[] in,
                            int inOffset,
                            int length,
                            byte[] out,
                            int outOffset)
            throws ShortBufferException,
                   IllegalBlockSizeException,
                   BadPaddingException


engineGetBlockSize

protected int engineGetBlockSize()


engineGetIV

protected byte[] engineGetIV()


engineGetOutputSize

protected int engineGetOutputSize(int in)


engineGetParameters

protected AlgorithmParameters engineGetParameters()


engineInit

protected void engineInit(int mode,
                          Key key,
                          AlgorithmParameterSpec p,
                          SecureRandom r)
            throws InvalidKeyException,
                   InvalidAlgorithmParameterException


engineInit

protected void engineInit(int mode,
                          Key key,
                          AlgorithmParameters p,
                          SecureRandom r)
            throws InvalidKeyException,
                   InvalidAlgorithmParameterException


engineInit

protected void engineInit(int mode,
                          Key key,
                          SecureRandom r)
            throws InvalidKeyException


engineSetMode

protected void engineSetMode(String s)
            throws NoSuchAlgorithmException


engineSetPadding

protected void engineSetPadding(String s)
            throws NoSuchPaddingException


engineUpdate

protected byte[] engineUpdate(byte[] in,
                              int offset,
                              int length)


engineUpdate

protected int engineUpdate(byte[] in,
                           int inOffset,
                           int length,
                           byte[] out,
                           int outOffset)
            throws ShortBufferException


Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.