Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto.engines
Class ARIAWrapEngine

java.lang.Object
  |
  +--org.bouncycastle.crypto.engines.RFC3394WrapEngine
        |
        +--org.bouncycastle.crypto.engines.ARIAWrapEngine
All Implemented Interfaces:
Wrapper

public class ARIAWrapEngine
extends RFC3394WrapEngine

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

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


Constructor Summary
ARIAWrapEngine()
          Create a regular ARIAWrapEngine specifying the encrypt for wrapping, decrypt for unwrapping.
ARIAWrapEngine(boolean useReverseDirection)
          Create an ARIAWrapEngine where the underlying cipher is set to decrypt for wrapping, encrypt for unwrapping.
 
Methods inherited from class org.bouncycastle.crypto.engines.RFC3394WrapEngine
getAlgorithmName, init, unwrap, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARIAWrapEngine

public ARIAWrapEngine()
Create a regular ARIAWrapEngine specifying the encrypt for wrapping, decrypt for unwrapping.

ARIAWrapEngine

public ARIAWrapEngine(boolean useReverseDirection)
Create an ARIAWrapEngine where the underlying cipher is set to decrypt for wrapping, encrypt for unwrapping.
Parameters:
useReverseDirection - true if underlying cipher should be used in decryption mode, false otherwise.

Bouncy Castle Cryptography Library 1.77.0