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
Afficher le fichier Open project: red-gate/iTextSharp-4.1.6

Méthodes publiques

Méthode 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 méthode

public Init ( bool forWrapping, ICipherParameters parameters ) : void
forWrapping bool
parameters ICipherParameters
Résultat void

Rfc3394WrapEngine() public méthode

public Rfc3394WrapEngine ( IBlockCipher engine ) : System
engine IBlockCipher
Résultat System

Unwrap() public méthode

public Unwrap ( byte input, int inOff, int inLen ) : byte[]
input byte
inOff int
inLen int
Résultat byte[]

Wrap() public méthode

public Wrap ( byte input, int inOff, int inLen ) : byte[]
input byte
inOff int
inLen int
Résultat byte[]