public class AESWrapEngine extends RFC3394WrapEngine
For further details see: https://csrc.nist.gov/encryption/kms/key-wrap.pdf.
Constructor and Description |
---|
AESWrapEngine()
Create a regular AESWrapEngine specifying the encrypt for wrapping, decrypt for unwrapping.
|
AESWrapEngine(boolean useReverseDirection)
Create an AESWrapEngine where the underlying cipher is (optionally) set to decrypt for wrapping, encrypt for unwrapping.
|
getAlgorithmName, init, unwrap, wrap
public AESWrapEngine()
public AESWrapEngine(boolean useReverseDirection)
useReverseDirection
- true if underlying cipher should be used in decryption mode, false otherwise.