Inits a Signature operation

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

Syntax

Visual Basic (Declaration)
Public Function SignInit ( _
	mech As Mechanism, _
	key As Key _
) As Integer
C#
public int SignInit(
	Mechanism mech,
	Key key
)
Visual C++
public:
virtual int SignInit(
	Mechanism^ mech, 
	Key^ key
) sealed
JavaScript
function signInit(mech, key);

Parameters

mech
Type: Cryptware.NCryptoki..::..Mechanism
Signature Mechanism
key
Type: Cryptware.NCryptoki..::..Key
Key used for signature

Return Value

0 if no error occurs, PKCS#11 error code otherwise

Implements

ISession..::..SignInit(Mechanism, Key)

Remarks

Call C_SignInit

See Also