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

Inheritance: IWrapper
Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode Description
Init ( bool forWrapping, ICipherParameters parameters ) : void
Unwrap ( byte input, int inOff, int length ) : byte[]
Wrap ( byte input, int inOff, int length ) : byte[]

Private Methods

Méthode Description
CalculateCmsKeyChecksum ( byte key ) : byte[]
CheckCmsKeyChecksum ( byte key, byte checksum ) : bool

Method Details

Init() public méthode

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

Unwrap() public méthode

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

Wrap() public méthode

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