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

Parameters for the CKM_RC5_ECB and CKM_RC5_MAC mechanisms
Inheritance: IMechanismParams
Show file Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

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

Initializes a new instance of the CkRc5Params class.

ToMarshalableStructure ( ) : object

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

Method Details

CkRc5Params() public method

Initializes a new instance of the CkRc5Params class.
public CkRc5Params ( ulong wordsize, ulong rounds ) : Net.Pkcs11Interop.Common
wordsize ulong Wordsize of RC5 cipher in bytes
rounds ulong Number of rounds of RC5 encipherment
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