Pkcs11Interop  4.0.0
Public Member Functions | List of all members
Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkTlsMacParams Class Reference

Parameters for the CKM_TLS_MAC mechanism More...

Inherits Net.Pkcs11Interop.Common.IMechanismParams.

Public Member Functions

 CkTlsMacParams (uint prfHashMechanism, uint macLength, uint serverOrClient)
 Initializes a new instance of the CkTlsMacParams class. More...
 
object ToMarshalableStructure ()
 Returns managed object that can be marshaled to an unmanaged block of memory More...
 

Detailed Description

Parameters for the CKM_TLS_MAC mechanism

Constructor & Destructor Documentation

Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkTlsMacParams.CkTlsMacParams ( uint  prfHashMechanism,
uint  macLength,
uint  serverOrClient 
)

Initializes a new instance of the CkTlsMacParams class.

Parameters
prfHashMechanismHash mechanism used in the TLS12 PRF construct or CKM_TLS_PRF to use with the TLS 1.0 and 1.1 PRF construct (CKM)
macLengthLength of the MAC tag required or offered
serverOrClientShould be set to "1" for "server finished" label or to "2" for "client finished" label

Member Function Documentation

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