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

Parameters for the CKM_ECMQV_DERIVE mechanism
Inheritance: IMechanismParams, IDisposable
Mostra file Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkEcmqvDeriveParams ( ulong kdf, byte sharedData, byte publicData, ulong privateDataLen, ObjectHandle privateData, byte publicData2, ObjectHandle publicKey ) : System

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

CkEcmqvDeriveParams() public method

Initializes a new instance of the CkEcmqvDeriveParams class.
public CkEcmqvDeriveParams ( ulong kdf, byte sharedData, byte publicData, ulong privateDataLen, ObjectHandle privateData, byte publicData2, ObjectHandle publicKey ) : 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 first EC public key value
privateDataLen ulong The length in bytes of the second EC private key
privateData ObjectHandle Key handle for second EC private key value
publicData2 byte Other party's second EC public key value
publicKey ObjectHandle Handle to the first party's ephemeral public key
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