C# Class Net.Pkcs11Interop.HighLevelAPI81.MechanismParams.CkRc5MacGeneralParams

Parameters for the CKM_RC5_MAC_GENERAL mechanism
Inheritance: IMechanismParams
Show file Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkRc5MacGeneralParams ( ulong wordsize, ulong rounds, ulong macLength ) : Net.Pkcs11Interop.Common

Initializes a new instance of the CkRc5MacGeneralParams class.

ToMarshalableStructure ( ) : object

Returns managed object that can be marshaled to an unmanaged block of memory

Method Details

CkRc5MacGeneralParams() public method

Initializes a new instance of the CkRc5MacGeneralParams class.
public CkRc5MacGeneralParams ( ulong wordsize, ulong rounds, ulong macLength ) : Net.Pkcs11Interop.Common
wordsize ulong Wordsize of RC5 cipher in bytes
rounds ulong Number of rounds of RC5 encipherment
macLength ulong Length of the MAC produced, in bytes
return Net.Pkcs11Interop.Common

ToMarshalableStructure() public method

Returns managed object that can be marshaled to an unmanaged block of memory
public ToMarshalableStructure ( ) : object
return object