C# Class Net.Pkcs11Interop.HighLevelAPI41.MechanismParams.CkWtlsKeyMatParams

Parameters for the CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE and the CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE mechanisms
Inheritance: IMechanismParams, IDisposable
Mostrar archivo Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkWtlsKeyMatParams ( uint digestMechanism, uint macSizeInBits, uint keySizeInBits, uint ivSizeInBits, uint sequenceNumber, bool isExport, CkWtlsRandomData randomInfo ) : System

Initializes a new instance of the CkWtlsKeyMatParams 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

CkWtlsKeyMatParams() public method

Initializes a new instance of the CkWtlsKeyMatParams class.
public CkWtlsKeyMatParams ( uint digestMechanism, uint macSizeInBits, uint keySizeInBits, uint ivSizeInBits, uint sequenceNumber, bool isExport, CkWtlsRandomData randomInfo ) : System
digestMechanism uint The digest mechanism to be used (CKM)
macSizeInBits uint The length (in bits) of the MACing key agreed upon during the protocol handshake phase
keySizeInBits uint The length (in bits) of the secret key agreed upon during the handshake phase
ivSizeInBits uint The length (in bits) of the IV agreed upon during the handshake phase or if no IV is required, the length should be set to 0
sequenceNumber uint The current sequence number used for records sent by the client and server respectively
isExport bool Flag indicating whether the keys have to be derived for an export version of the protocol
randomInfo CkWtlsRandomData 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