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

Parameters for the CKM_RC5_ECB and CKM_RC5_MAC mechanisms
Inheritance: IMechanismParams
显示文件 Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkRc5Params ( ulong wordsize, ulong rounds ) : System

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 ) : System
wordsize ulong Wordsize of RC5 cipher in bytes
rounds ulong Number of rounds of RC5 encipherment
return System

ToMarshalableStructure() public method

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