Cryptoki: a cryptographic Token Interface



Download 360.55 Kb.
Page129/196
Date22.12.2023
Size360.55 Kb.
#63026
1   ...   125   126   127   128   129   130   131   132   ...   196
v201-95
pkcs11-base-v2.40-cos01

10.17.2. Vendor-defined callbacks


Library vendors can also define additional types of callbacks. Because of this extension capability, application-supplied notification callback routines should examine each callback they receive, and if they are unfamiliar with the type of that callback, they should immediately give control back to the library by returning with the value CKR_OK.

11. Mechanisms


A mechanism specifies precisely how a certain cryptographic process is to be performed.
The following table shows which Cryptoki mechanisms are supported by different cryptographic operations. For any particular token, of course, a particular operation may well support only a subset of the mechanisms listed. There is also no guarantee that a token which supports one mechanism for some operation supports any other mechanism for any other operation (or even supports that same mechanism for any other operation). For example, even if a token is able to create RSA digital signatures with the CKM_RSA_PKCS mechanism, it may or may not be the case that the same token can also perform RSA encryption with CKM_RSA_PKCS.
Table 48, Mechanisms vs. Functions




Functions


Mechanism

Encrypt
&
Decrypt

Sign
&
Verify

SR
&
VR1


Digest

Gen.
Key/
Key

Download 360.55 Kb.

Share with your friends:
1   ...   125   126   127   128   129   130   131   132   ...   196




The database is protected by copyright ©ininet.org 2024
send message

    Main page