C# Class Net.Pkcs11Interop.HighLevelAPI41.MechanismParams.CkKeaDeriveParams

Parameters for the CKM_KEA_DERIVE mechanism
Inheritance: IMechanismParams, IDisposable
Show file Open project: Pkcs11Interop/Pkcs11Interop

Public Methods

Method Description
CkKeaDeriveParams ( bool isSender, byte randomA, byte randomB, byte publicData ) : System

Initializes a new instance of the CkKeaDeriveParams class.

Dispose ( ) : void

Disposes object

ToMarshalableStructure ( ) : object

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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes object

Method Details

CkKeaDeriveParams() public method

Initializes a new instance of the CkKeaDeriveParams class.
public CkKeaDeriveParams ( bool isSender, byte randomA, byte randomB, byte publicData ) : System
isSender bool Option for generating the key (called a TEK). True if the sender (originator) generates the TEK, false if the recipient is regenerating the TEK.
randomA byte Ra data
randomB byte Rb data
publicData byte Other party's KEA public key value
return System

Dispose() public method

Disposes object
public Dispose ( ) : void
return void

Dispose() protected method

Disposes object
protected Dispose ( bool disposing ) : void
disposing bool Flag indicating whether managed resources should be disposed
return void

ToMarshalableStructure() public method

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