Pkcs11Interop  5.1.2
Public Member Functions | Protected Member Functions | Properties | List of all members
Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkWtlsMasterKeyDeriveParams Class Reference

Parameters for the CKM_WTLS_MASTER_KEY_DERIVE and CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC mechanisms More...

Inherits Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkWtlsMasterKeyDeriveParams.

Public Member Functions

 CkWtlsMasterKeyDeriveParams (NativeULong digestMechanism, ICkWtlsRandomData randomInfo, bool dh)
 Initializes a new instance of the CkWtlsMasterKeyDeriveParams 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...
 

Properties

ICkVersion Version [get]
 WTLS protocol version information More...
 
- Properties inherited from Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkWtlsMasterKeyDeriveParams
ICkVersion Version [get]
 WTLS protocol version information More...
 

Detailed Description

Parameters for the CKM_WTLS_MASTER_KEY_DERIVE and CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC mechanisms

Constructor & Destructor Documentation

◆ CkWtlsMasterKeyDeriveParams()

Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkWtlsMasterKeyDeriveParams.CkWtlsMasterKeyDeriveParams ( NativeULong  digestMechanism,
ICkWtlsRandomData  randomInfo,
bool  dh 
)

Initializes a new instance of the CkWtlsMasterKeyDeriveParams class.

Parameters
digestMechanismDigest mechanism to be used (CKM)
randomInfoClient's and server's random data information
dhSet to false for CKM_WTLS_MASTER_KEY_DERIVE mechanism and to true for CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC mechanism

Member Function Documentation

◆ Dispose() [1/2]

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

Disposes object

◆ Dispose() [2/2]

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

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed

◆ ToMarshalableStructure()

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

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

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

Implements Net.Pkcs11Interop.HighLevelAPI.MechanismParams.IMechanismParams.

Property Documentation

◆ Version

ICkVersion Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkWtlsMasterKeyDeriveParams.Version
get

WTLS protocol version information


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