org.bouncycastle.jce.provider

Class WrapCipherSpi

public abstract class WrapCipherSpi extends CipherSpi implements PBE

Nested Class Summary
static classWrapCipherSpi.DESEDEWrap
static classWrapCipherSpi.RC2Wrap
static classWrapCipherSpi.RFC3211DESedeWrap
Field Summary
protected AlgorithmParametersengineParams
protected intpbeHash
protected intpbeIvSize
protected intpbeKeySize
protected intpbeType
protected WrapperwrapEngine
Constructor Summary
protected WrapCipherSpi()
protected WrapCipherSpi(Wrapper wrapEngine)
protected WrapCipherSpi(Wrapper wrapEngine, int ivSize)
Method Summary
protected byte[]engineDoFinal(byte[] input, int inputOffset, int inputLen)
protected intengineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
protected intengineGetBlockSize()
protected byte[]engineGetIV()
protected intengineGetKeySize(Key key)
protected intengineGetOutputSize(int inputLen)
protected AlgorithmParametersengineGetParameters()
protected voidengineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
protected voidengineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
protected voidengineInit(int opmode, Key key, SecureRandom random)
protected voidengineSetMode(String mode)
protected voidengineSetPadding(String padding)
protected KeyengineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)
protected byte[]engineUpdate(byte[] input, int inputOffset, int inputLen)
protected intengineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
protected byte[]engineWrap(Key key)

Field Detail

engineParams

protected AlgorithmParameters engineParams

pbeHash

protected int pbeHash

pbeIvSize

protected int pbeIvSize

pbeKeySize

protected int pbeKeySize

pbeType

protected int pbeType

wrapEngine

protected Wrapper wrapEngine

Constructor Detail

WrapCipherSpi

protected WrapCipherSpi()

WrapCipherSpi

protected WrapCipherSpi(Wrapper wrapEngine)

WrapCipherSpi

protected WrapCipherSpi(Wrapper wrapEngine, int ivSize)

Method Detail

engineDoFinal

protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)

engineDoFinal

protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)

engineGetBlockSize

protected int engineGetBlockSize()

engineGetIV

protected byte[] engineGetIV()

engineGetKeySize

protected int engineGetKeySize(Key key)

engineGetOutputSize

protected int engineGetOutputSize(int inputLen)

engineGetParameters

protected AlgorithmParameters engineGetParameters()

engineInit

protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)

engineInit

protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)

engineInit

protected void engineInit(int opmode, Key key, SecureRandom random)

engineSetMode

protected void engineSetMode(String mode)

engineSetPadding

protected void engineSetPadding(String padding)

engineUnwrap

protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)

engineUpdate

protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen)

engineUpdate

protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)

engineWrap

protected byte[] engineWrap(Key key)