Sets Operation State

Namespace:  Cryptware.NCryptoki
Assembly:  NCryptoki (in NCryptoki.dll)

Syntax

Visual Basic (Declaration)
Public Function SetOperationState ( _
	data As Byte(), _
	encKey As Key, _
	autKey As Key _
) As Integer
C#
public int SetOperationState(
	byte[] data,
	Key encKey,
	Key autKey
)
Visual C++
public:
virtual int SetOperationState(
	[InAttribute] array<unsigned char>^ data, 
	Key^ encKey, 
	Key^ autKey
) sealed
JavaScript
function setOperationState(data, encKey, autKey);

Parameters

data
Type: array<System..::..Byte>[]()[]
data
encKey
Type: Cryptware.NCryptoki..::..Key
encryption key
autKey
Type: Cryptware.NCryptoki..::..Key
authentication key

Return Value

0 if no error occurs or a PKCS#11 error otherwise

Implements

ISession..::..SetOperationState(array<Byte>[]()[][], Key, Key)

Remarks

Call C_SetOperationState

See Also