public class

RFC3211WrapEngine

extends Object
implements Wrapper
java.lang.Object
   ↳ org.bouncycastle.crypto.engines.RFC3211WrapEngine

Class Overview

an implementation of the RFC 3211 Key Wrap Specification.

Summary

Public Constructors
RFC3211WrapEngine(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 RFC3211WrapEngine (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)