C# Class Org.BouncyCastle.Crypto.Engines.Rfc3394WrapEngine

An implementation of the AES Key Wrapper from the NIST Key Wrap Specification as described in RFC 3394.

For further details see: http://www.ietf.org/rfc/rfc3394.txt and http://csrc.nist.gov/encryption/kms/key-wrap.pdf.

Inheritance: IWrapper
ファイルを表示 Open project: red-gate/iTextSharp-4.1.6

Public Methods

Method Description
Init ( bool forWrapping, ICipherParameters parameters ) : void
Rfc3394WrapEngine ( IBlockCipher engine ) : System
Unwrap ( byte input, int inOff, int inLen ) : byte[]
Wrap ( byte input, int inOff, int inLen ) : byte[]

Method Details

Init() public method

public Init ( bool forWrapping, ICipherParameters parameters ) : void
forWrapping bool
parameters ICipherParameters
return void

Rfc3394WrapEngine() public method

public Rfc3394WrapEngine ( IBlockCipher engine ) : System
engine IBlockCipher
return System

Unwrap() public method

public Unwrap ( byte input, int inOff, int inLen ) : byte[]
input byte
inOff int
inLen int
return byte[]

Wrap() public method

public Wrap ( byte input, int inOff, int inLen ) : byte[]
input byte
inOff int
inLen int
return byte[]