C# Class Net.Pkcs11Interop.HighLevelAPI81.MechanismParams.CkSsl3KeyMatParams

Parameters for the CKM_SSL3_KEY_AND_MAC_DERIVE mechanism
Inheritance: IMechanismParams, IDisposable
Exibir arquivo Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkSsl3KeyMatParams ( ulong macSizeInBits, ulong keySizeInBits, ulong ivSizeInBits, bool isExport, CkSsl3RandomData randomInfo ) : System

Initializes a new instance of the CkSsl3KeyMatParams class.

Dispose ( ) : void

Disposes object

ToMarshalableStructure ( ) : object

Returns managed object that can be marshaled to an unmanaged block of memory

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes object

Method Details

CkSsl3KeyMatParams() public method

Initializes a new instance of the CkSsl3KeyMatParams class.
public CkSsl3KeyMatParams ( ulong macSizeInBits, ulong keySizeInBits, ulong ivSizeInBits, bool isExport, CkSsl3RandomData randomInfo ) : System
macSizeInBits ulong The length (in bits) of the MACing keys agreed upon during the protocol handshake phase
keySizeInBits ulong The length (in bits) of the secret keys agreed upon during the protocol handshake phase
ivSizeInBits ulong The length (in bits) of the IV agreed upon during the protocol handshake phase or if no IV is required, the length should be set to 0
isExport bool Flag indicating whether the keys have to be derived for an export version of the protocol
randomInfo CkSsl3RandomData Client's and server's random data information
return System

Dispose() public method

Disposes object
public Dispose ( ) : void
return void

Dispose() protected method

Disposes object
protected Dispose ( bool disposing ) : void
disposing bool Flag indicating whether managed resources should be disposed
return void

ToMarshalableStructure() public method

Returns managed object that can be marshaled to an unmanaged block of memory
public ToMarshalableStructure ( ) : object
return object