org.bouncycastle.crypto.engines

Class CamelliaEngine

Implemented Interfaces:
BlockCipher

public class CamelliaEngine
extends java.lang.Object
implements BlockCipher

Camellia - based on RFC 3713.

Constructor Summary

CamelliaEngine()

Method Summary

String
getAlgorithmName()
int
getBlockSize()
void
init(boolean forEncryption, CipherParameters params)
int
processBlock(byte[] in, int inOff, byte[] out, int outOff)
void
reset()

Constructor Details

CamelliaEngine

public CamelliaEngine()

Method Details

getAlgorithmName

public String getAlgorithmName()
Specified by:
getAlgorithmName in interface BlockCipher

getBlockSize

public int getBlockSize()
Specified by:
getBlockSize in interface BlockCipher

init

public void init(boolean forEncryption,
                 CipherParameters params)
            throws IllegalArgumentException
Specified by:
init in interface BlockCipher

processBlock

public int processBlock(byte[] in,
                        int inOff,
                        byte[] out,
                        int outOff)
            throws DataLengthException,
                   IllegalStateException
Specified by:
processBlock in interface BlockCipher

reset

public void reset()
Specified by:
reset in interface BlockCipher