Top Description Constructors Methods
org.bouncycastle.crypto.engines

public Class AESWrapEngine

extends RFC3394WrapEngine
Class Inheritance

an implementation of the AES Key Wrapper from the NIST Key Wrap Specification.

For further details see: https://csrc.nist.gov/encryption/kms/key-wrap.pdf.

Constructor Summary

AccessConstructor and Description
public
AESWrapEngine()

Create a regular AESWrapEngine specifying the encrypt for wrapping, decrypt for unwrapping.

public
AESWrapEngine(boolean
true if underlying cipher should be used in decryption mode, false otherwise.
useReverseDirection
)

Create an AESWrapEngine where the underlying cipher is (optionally) set to decrypt for wrapping, encrypt for unwrapping.

Method Summary

Inherited from org.bouncycastle.crypto.engines.RFC3394WrapEngine:
getAlgorithmNameinitunwrapwrap

Constructor Detail

AESWrapEngineback to summary
public AESWrapEngine()

Create a regular AESWrapEngine specifying the encrypt for wrapping, decrypt for unwrapping.

AESWrapEngineback to summary
public AESWrapEngine(boolean useReverseDirection)

Create an AESWrapEngine where the underlying cipher is (optionally) set to decrypt for wrapping, encrypt for unwrapping.

Parameters
useReverseDirection:boolean

true if underlying cipher should be used in decryption mode, false otherwise.