C# Class Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkX942Dh2DeriveParams

Parameters for the CKM_X9_42_DH_HYBRID_DERIVE and CKM_X9_42_MQV_DERIVE key derivation mechanisms
Inheritance: IMechanismParams, IDisposable
Afficher le fichier Open project: Pkcs11Interop/Pkcs11Interop

Méthodes publiques

Méthode Description
CkX942Dh2DeriveParams ( uint kdf, byte otherInfo, byte publicData, uint privateDataLen, ObjectHandle privateData, byte publicData2 ) : System

Initializes a new instance of the CkX942Dh2DeriveParams class.

Dispose ( ) : void

Disposes object

ToMarshalableStructure ( ) : object

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposes object

Method Details

CkX942Dh2DeriveParams() public méthode

Initializes a new instance of the CkX942Dh2DeriveParams class.
public CkX942Dh2DeriveParams ( uint kdf, byte otherInfo, byte publicData, uint privateDataLen, ObjectHandle privateData, byte publicData2 ) : System
kdf uint Key derivation function used on the shared secret value (CKD)
otherInfo byte Some data shared between the two parties
publicData byte Other party's first X9.42 Diffie-Hellman public key value
privateDataLen uint The length in bytes of the second X9.42 Diffie-Hellman private key
privateData ObjectHandle Key handle for second X9.42 Diffie-Hellman private key value
publicData2 byte Other party's second X9.42 Diffie-Hellman public key value
Résultat System

Dispose() public méthode

Disposes object
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

ToMarshalableStructure() public méthode

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