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

Parameters for the CKM_SSL3_KEY_AND_MAC_DERIVE mechanism More...

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

Public Member Functions

 CkSsl3KeyMatParams (ulong macSizeInBits, ulong keySizeInBits, ulong ivSizeInBits, bool isExport, CkSsl3RandomData 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

CkSsl3KeyMatOut 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

Net.Pkcs11Interop.HighLevelAPI.MechanismParams.CkSsl3KeyMatParams.CkSsl3KeyMatParams ( ulong  macSizeInBits,
ulong  keySizeInBits,
ulong  ivSizeInBits,
bool  isExport,
CkSsl3RandomData  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

void Net.Pkcs11Interop.HighLevelAPI.MechanismParams.CkSsl3KeyMatParams.Dispose ( )

Disposes object

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

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed
object Net.Pkcs11Interop.HighLevelAPI.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.Common.IMechanismParams.

Property Documentation

CkSsl3KeyMatOut Net.Pkcs11Interop.HighLevelAPI.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: