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

Parameters for the CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE and the CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE mechanisms More...

Inherits Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkWtlsKeyMatParams.

Public Member Functions

 CkWtlsKeyMatParams (NativeULong digestMechanism, NativeULong macSizeInBits, NativeULong keySizeInBits, NativeULong ivSizeInBits, NativeULong sequenceNumber, bool isExport, ICkWtlsRandomData randomInfo)
 Initializes a new instance of the CkWtlsKeyMatParams 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

ICkWtlsKeyMatOut ReturnedKeyMaterial [get]
 Resulting key handles and initialization vector after performing a DeriveKey method More...
 
- Properties inherited from Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkWtlsKeyMatParams
ICkWtlsKeyMatOut ReturnedKeyMaterial [get]
 Resulting key handles and initialization vector after performing a DeriveKey method More...
 

Detailed Description

Parameters for the CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE and the CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE mechanisms

Constructor & Destructor Documentation

◆ CkWtlsKeyMatParams()

Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkWtlsKeyMatParams.CkWtlsKeyMatParams ( NativeULong  digestMechanism,
NativeULong  macSizeInBits,
NativeULong  keySizeInBits,
NativeULong  ivSizeInBits,
NativeULong  sequenceNumber,
bool  isExport,
ICkWtlsRandomData  randomInfo 
)

Initializes a new instance of the CkWtlsKeyMatParams class.

Parameters
digestMechanismThe digest mechanism to be used (CKM)
macSizeInBitsThe length (in bits) of the MACing key agreed upon during the protocol handshake phase
keySizeInBitsThe length (in bits) of the secret key agreed upon during the handshake phase
ivSizeInBitsThe length (in bits) of the IV agreed upon during the handshake phase or if no IV is required, the length should be set to 0
sequenceNumberThe current sequence number used for records sent by the client and server respectively
isExportFlag indicating whether the keys have to be derived for an export version of the protocol
randomInfoClient's and server's random data information

Member Function Documentation

◆ Dispose() [1/2]

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

Disposes object

◆ Dispose() [2/2]

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

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed

◆ ToMarshalableStructure()

object Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkWtlsKeyMatParams.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

◆ ReturnedKeyMaterial

ICkWtlsKeyMatOut Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkWtlsKeyMatParams.ReturnedKeyMaterial
get

Resulting key handles and initialization vector after performing a DeriveKey method


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