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

Parameters for the CKM_TLS_KDF mechanism More...

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

Public Member Functions

 CkTlsKdfParams (ulong prfMechanism, byte[] label, CkSsl3RandomData randomInfo, byte[] contextData)
 Initializes a new instance of the CkTlsKdfParams 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...
 

Detailed Description

Parameters for the CKM_TLS_KDF mechanism

Constructor & Destructor Documentation

Net.Pkcs11Interop.HighLevelAPI.MechanismParams.CkTlsKdfParams.CkTlsKdfParams ( ulong  prfMechanism,
byte[]  label,
CkSsl3RandomData  randomInfo,
byte[]  contextData 
)

Initializes a new instance of the CkTlsKdfParams class.

Parameters
prfMechanismHash mechanism used in the TLS 1.2 PRF construct or CKM_TLS_PRF to use with the TLS 1.0 and 1.1 PRF construct (CKM)
labelLabel for this key derivation
randomInfoRandom data for the key derivation
contextDataContext data for this key derivation

Member Function Documentation

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

Disposes object

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

Disposes object

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


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