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

Parameters for the CKM_RC5_MAC_GENERAL mechanism
Inheritance: IMechanismParams
Mostrar archivo Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkRc5MacGeneralParams ( uint wordsize, uint rounds, uint 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 ( uint wordsize, uint rounds, uint macLength ) : Net.Pkcs11Interop.Common
wordsize uint Wordsize of RC5 cipher in bytes
rounds uint Number of rounds of RC5 encipherment
macLength uint 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