org.bouncycastle.crypto

Interface Wrapper

public interface Wrapper

Method Summary
StringgetAlgorithmName()
Return the name of the algorithm the wrapper implements.
voidinit(boolean forWrapping, CipherParameters param)
byte[]unwrap(byte[] in, int inOff, int inLen)
byte[]wrap(byte[] in, int inOff, int inLen)

Method Detail

getAlgorithmName

public String getAlgorithmName()
Return the name of the algorithm the wrapper implements.

Returns: the name of the algorithm the wrapper implements.

init

public void init(boolean forWrapping, CipherParameters param)

unwrap

public byte[] unwrap(byte[] in, int inOff, int inLen)

wrap

public byte[] wrap(byte[] in, int inOff, int inLen)