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

Parameters for the CKM_ECDH1_DERIVE and CKM_ECDH1_COFACTOR_DERIVE key derivation mechanisms
Inheritance: IMechanismParams, IDisposable
Datei anzeigen Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkEcdh1DeriveParams ( ulong kdf, byte sharedData, byte publicData ) : System

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

CkEcdh1DeriveParams() public method

Initializes a new instance of the CkEcdh1DeriveParams class.
public CkEcdh1DeriveParams ( ulong kdf, byte sharedData, byte publicData ) : System
kdf ulong Key derivation function used on the shared secret value (CKD)
sharedData byte Some data shared between the two parties
publicData byte Other party's EC public key value
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