Class AesWrapEngine
- Namespace
- Org.BouncyCastle.Crypto.Engines
- Assembly
- BouncyCastle.Cryptography.dll
public class AesWrapEngine : Rfc3394WrapEngine, IWrapper
- Inheritance
-
AesWrapEngine
- Implements
- Inherited Members
Remarks
An implementation of the AES Key Wrapper from the NIST Key Wrap Specification.
For further details see: http://csrc.nist.gov/encryption/kms/key-wrap.pdf.Constructors
AesWrapEngine()
Create a regular AesWrapEngine specifying the encrypt for wrapping, decrypt for unwrapping.
public AesWrapEngine()
AesWrapEngine(bool)
Create an AESWrapEngine where the underlying cipher is (optionally) set to decrypt for wrapping, encrypt for unwrapping.
public AesWrapEngine(bool useReverseDirection)
Parameters
useReverseDirectionbooltrue if underlying cipher should be used in decryption mode, false otherwise.