Pkcs11Interop  4.0.0
Public Member Functions | List of all members
Net.Pkcs11Interop.HighLevelAPI41.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.Common.IMechanismParams.

Public Member Functions

 CkMacGeneralParams (uint 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...
 

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

Net.Pkcs11Interop.HighLevelAPI41.MechanismParams.CkMacGeneralParams.CkMacGeneralParams ( uint  macLength)

Initializes a new instance of the CkMacGeneralParams class.

Parameters
macLengthLength of the MAC produced, in bytes

Member Function Documentation

object Net.Pkcs11Interop.HighLevelAPI41.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.Common.IMechanismParams.


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