Inits an Decrypt operation
Namespace:
Cryptware.NCryptokiAssembly: NCryptoki (in NCryptoki.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function DecryptInit ( _ mech As Mechanism, _ key As Key _ ) As Integer |
C# |
---|
public int DecryptInit( Mechanism mech, Key key ) |
Visual C++ |
---|
public: virtual int DecryptInit( Mechanism^ mech, Key^ key ) sealed |
JavaScript |
---|
function decryptInit(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 otherwiseImplements
ISession..::..DecryptInit(Mechanism, Key)
Remarks
Call C_DecryptInit