C# Class Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkWtlsMasterKeyDeriveParams

Parameters for the CKM_WTLS_MASTER_KEY_DERIVE and CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC mechanisms
Inheritance: IMechanismParams, IDisposable
ファイルを表示 Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkWtlsMasterKeyDeriveParams ( ulong digestMechanism, CkWtlsRandomData randomInfo, bool dh ) : System

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

CkWtlsMasterKeyDeriveParams() public method

Initializes a new instance of the CkWtlsMasterKeyDeriveParams class.
public CkWtlsMasterKeyDeriveParams ( ulong digestMechanism, CkWtlsRandomData randomInfo, bool dh ) : System
digestMechanism ulong Digest mechanism to be used (CKM)
randomInfo CkWtlsRandomData Client's and server's random data information
dh bool Set to false for CKM_WTLS_MASTER_KEY_DERIVE mechanism and to true for CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC mechanism
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