public class

RFC3394WrapEngine

extends Object
implements Wrapper
java.lang.Object
   ↳ org.bouncycastle.crypto.engines.RFC3394WrapEngine
Known Direct Subclasses

Class Overview

an implementation of the AES Key Wrapper from the NIST Key Wrap Specification as described in RFC 3394.

For further details see: http://www.ietf.org/rfc/rfc3394.txt and http://csrc.nist.gov/encryption/kms/key-wrap.pdf.

Summary

Public Constructors
RFC3394WrapEngine(BlockCipher engine)
Public Methods
String getAlgorithmName()
Return the name of the algorithm the wrapper implements.
void init(boolean forWrapping, CipherParameters param)
byte[] unwrap(byte[] in, int inOff, int inLen)
byte[] wrap(byte[] in, int inOff, int inLen)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.crypto.Wrapper

Public Constructors

public RFC3394WrapEngine (BlockCipher engine)

Public Methods

public String getAlgorithmName ()

Return the name of the algorithm the wrapper implements.

Returns
  • the name of the algorithm the wrapper implements.

public void init (boolean forWrapping, CipherParameters param)

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

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