Pkcs11Interop  4.0.0
Public Member Functions | Protected Member Functions | Properties | List of all members
Net.Pkcs11Interop.HighLevelAPI.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.Common.IMechanismParams, and IDisposable.

Public Member Functions

 CkWtlsKeyMatParams (ulong digestMechanism, ulong macSizeInBits, ulong keySizeInBits, ulong ivSizeInBits, ulong sequenceNumber, bool isExport, CkWtlsRandomData 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

CkWtlsKeyMatOut 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

Net.Pkcs11Interop.HighLevelAPI.MechanismParams.CkWtlsKeyMatParams.CkWtlsKeyMatParams ( ulong  digestMechanism,
ulong  macSizeInBits,
ulong  keySizeInBits,
ulong  ivSizeInBits,
ulong  sequenceNumber,
bool  isExport,
CkWtlsRandomData  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

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

Disposes object

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

Disposes object

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

Property Documentation

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