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

Parameters for the CKM_SSL3_KEY_AND_MAC_DERIVE mechanism More...

Inherits Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkSsl3KeyMatParams.

Public Member Functions

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

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

Detailed Description

Parameters for the CKM_SSL3_KEY_AND_MAC_DERIVE mechanism

Constructor & Destructor Documentation

◆ CkSsl3KeyMatParams()

Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkSsl3KeyMatParams.CkSsl3KeyMatParams ( NativeULong  macSizeInBits,
NativeULong  keySizeInBits,
NativeULong  ivSizeInBits,
bool  isExport,
ICkSsl3RandomData  randomInfo 
)

Initializes a new instance of the CkSsl3KeyMatParams class.

Parameters
macSizeInBitsThe length (in bits) of the MACing keys agreed upon during the protocol handshake phase
keySizeInBitsThe length (in bits) of the secret keys agreed upon during the protocol handshake phase
ivSizeInBitsThe length (in bits) of the IV agreed upon during the protocol handshake phase or if no IV is required, the length should be set to 0
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.CkSsl3KeyMatParams.Dispose ( )

Disposes object

◆ Dispose() [2/2]

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

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed

◆ ToMarshalableStructure()

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

ICkSsl3KeyMatOut Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkSsl3KeyMatParams.ReturnedKeyMaterial
get

Resulting key handles and initialization vectors after performing a DeriveKey method


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