org.bouncycastle.crypto.engines

Class RFC3211WrapEngine

public class RFC3211WrapEngine extends Object implements Wrapper

an implementation of the RFC 3211 Key Wrap Specification.
Constructor Summary
RFC3211WrapEngine(BlockCipher engine)
Method Summary
StringgetAlgorithmName()
voidinit(boolean forWrapping, CipherParameters param)
byte[]unwrap(byte[] in, int inOff, int inLen)
byte[]wrap(byte[] in, int inOff, int inLen)

Constructor Detail

RFC3211WrapEngine

public RFC3211WrapEngine(BlockCipher engine)

Method Detail

getAlgorithmName

public String getAlgorithmName()

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)