Pkcs11Interop  5.1.2
Public Member Functions | Protected Member Functions | List of all members
Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkMacGeneralParams Class Reference

Parameters for the general-length MACing mechanisms (DES, DES3, CAST, CAST3, CAST128 (CAST5), IDEA, CDMF and AES), the general length HMACing mechanisms (MD2, MD5, SHA-1, SHA-256, SHA-384, SHA-512, RIPEMD-128 and RIPEMD-160) and the two SSL 3.0 MACing mechanisms (MD5 and SHA-1) More...

Inherits Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkMacGeneralParams.

Public Member Functions

 CkMacGeneralParams (NativeULong macLength)
 Initializes a new instance of the CkMacGeneralParams 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 general-length MACing mechanisms (DES, DES3, CAST, CAST3, CAST128 (CAST5), IDEA, CDMF and AES), the general length HMACing mechanisms (MD2, MD5, SHA-1, SHA-256, SHA-384, SHA-512, RIPEMD-128 and RIPEMD-160) and the two SSL 3.0 MACing mechanisms (MD5 and SHA-1)

Constructor & Destructor Documentation

◆ CkMacGeneralParams()

Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkMacGeneralParams.CkMacGeneralParams ( NativeULong  macLength)

Initializes a new instance of the CkMacGeneralParams class.

Parameters
macLengthLength of the MAC produced, in bytes

Member Function Documentation

◆ Dispose() [1/2]

void Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkMacGeneralParams.Dispose ( )

Disposes object

◆ Dispose() [2/2]

virtual void Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkMacGeneralParams.Dispose ( bool  disposing)
protectedvirtual

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed

◆ ToMarshalableStructure()

object Net.Pkcs11Interop.HighLevelAPI80.MechanismParams.CkMacGeneralParams.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.


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