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

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

Public Methods

Method 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

Method Description
CalculateCmsKeyChecksum ( byte key ) : byte[]
CheckCmsKeyChecksum ( byte key, byte checksum ) : bool

Method Details

Init() public method

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

Unwrap() public method

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

Wrap() public method

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