Pkcs11Interop  4.1.1
Public Member Functions | Protected Member Functions | List of all members
Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkEcmqvDeriveParams Class Reference

Parameters for the CKM_ECMQV_DERIVE mechanism More...

Inherits Net.Pkcs11Interop.Common.IMechanismParams, and IDisposable.

Public Member Functions

 CkEcmqvDeriveParams (uint kdf, byte[] sharedData, byte[] publicData, uint privateDataLen, ObjectHandle privateData, byte[] publicData2, ObjectHandle publicKey)
 Initializes a new instance of the CkEcmqvDeriveParams class. More...
object ToMarshalableStructure ()
 Returns managed object that can be marshaled to an unmanaged block of memory More...
void Dispose ()
 Disposes object More...

Protected Member Functions

virtual void Dispose (bool disposing)
 Disposes object More...

Detailed Description

Parameters for the CKM_ECMQV_DERIVE mechanism

Constructor & Destructor Documentation

◆ CkEcmqvDeriveParams()

Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkEcmqvDeriveParams.CkEcmqvDeriveParams ( uint  kdf,
byte []  sharedData,
byte []  publicData,
uint  privateDataLen,
ObjectHandle  privateData,
byte []  publicData2,
ObjectHandle  publicKey 

Initializes a new instance of the CkEcmqvDeriveParams class.

kdfKey derivation function used on the shared secret value (CKD)
sharedDataSome data shared between the two parties
publicDataOther party's first EC public key value
privateDataLenThe length in bytes of the second EC private key
privateDataKey handle for second EC private key value
publicData2Other party's second EC public key value
publicKeyHandle to the first party's ephemeral public key

Member Function Documentation

◆ Dispose() [1/2]

void Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkEcmqvDeriveParams.Dispose ( )

Disposes object

◆ Dispose() [2/2]

virtual void Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkEcmqvDeriveParams.Dispose ( bool  disposing)

Disposes object

disposingFlag indicating whether managed resources should be disposed

◆ ToMarshalableStructure()

object Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkEcmqvDeriveParams.ToMarshalableStructure ( )

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

A managed object holding the data to be marshaled. This object must be an instance of a formatted class.

Implements Net.Pkcs11Interop.Common.IMechanismParams.

The documentation for this class was generated from the following file: