corePKCS11  v3.2.0
PKCS #11 Cryptoki Library
Related Pages
Here is a list of all related documentation pages:
[detail level 12]
 Design
 PKCS #11 Sequence DiagramsThe following are sequence diagrams for common PKCS #11 operations
 PKCS #11 RNG Sequence DiagramSequence diagram illustrating how to generate random bytes from PKCS #11
 PKCS #11 Digest Sequence DiagramSequence diagram illustrating how to create a message digest with PKCS #11
 PKCS #11 Object Import Sequence DiagramSequence diagram illustrating how to import an object with PKCS #11
 PKCS #11 Generate Key Pair Sequence DiagramSequence diagram illustrating how to generate a key pair with PKCS #11
 PKCS #11 Sign and Verify Sequence DiagramSequence diagram illustrating how to sign a hash and verify a signature with PKCS #11
 PKCS #11 Configuration MacrosThese are the configuration macros used by the corePKCS11 Library
 PKCS #11 Mbed TLS Implementation FunctionsPrimary functions of the PKCS #11 Mbed TLS based Implementation Library:

C_Initialize
C_Finalize
C_GetFunctionList
C_GetSlotList
C_GetTokenInfo
C_GetMechanismInfo
C_InitToken
C_OpenSession
C_CloseSession
C_Login
C_CreateObject
C_DestroyObject
C_GetAttributeValue
C_FindObjectsInit
C_FindObjects
C_FindObjectsFinal
C_DigestInit
C_DigestUpdate
C_DigestFinal
C_SignInit
C_VerifyInit
C_Verify
C_GenerateKeyPair
C_GenerateRandom
 C_InitializeInitializes Cryptoki.
 C_FinalizeClean up miscellaneous Cryptoki-associated resources.
 C_GetFunctionListObtains entry points of Cryptoki library functions.
 C_GetSlotListObtains a list of slots in the system.
 C_GetTokenInfoObtains information about a particular token.
 C_GetMechanismInfoObtains information about a particular mechanism.
 C_InitTokenInitializes a token. This function is not implemented for this port.
 C_OpenSessionOpens a connection between an application and a particular token or sets up an application callback for token insertion.
 C_CloseSessionCloses a session.
 C_LoginLogs into a token. This function is not implemented for this port.
 C_CreateObjectCreates an object.
 C_DestroyObjectDestroys an object.
 C_GetAttributeValueObtains an attribute value of an object.
 C_FindObjectsInitInitializes an object search operation.
 C_FindObjectsInitializes an object search operation.
 C_FindObjectsFinalFinishes an object search operation.
 C_DigestInitInitializes a message-digesting operation.
 C_DigestUpdateContinues a multiple-part digesting operation.
 C_DigestFinalFinishes a multiple-part digesting operation.
 C_SignInitInitializes a signature operation.
 C_VerifyInitInitializes a verification operation.
 C_VerifyVerifies a signature on single-part data.
 C_GenerateKeyPairGenerates a public-key/private-key pair.
 C_GenerateRandomGenerates random data.
 PKCS #11 Wrapper FunctionsPrimary functions of the PKCS #11 wrapper Library:

xInitializePKCS11
xGetSlotList
xInitializePkcs11Token
xInitializePkcs11Session
xFindObjectWithLabelAndClass
vAppendSHA256AlgorithmIdentifierSequence
 xInitializePKCS11Initializes a PKCS #11 session.
 xGetSlotListGet a list of available PKCS #11 slots.
 xInitializePkcs11TokenInitializes a PKCS #11 module and token.
 xInitializePkcs11SessionInitializes the PKCS #11 module and opens a session.
 xFindObjectWithLabelAndClassSearches for an object with a matching label and class provided.
 vAppendSHA256AlgorithmIdentifierSequenceAppends digest algorithm sequence to SHA-256 hash for RSA signatures.
 PKCS #11 PAL FunctionsPrimary functions of the PKCS #11 Platform Abstraction Layer Library:

PKCS11_PAL_Initialize
PKCS11_PAL_SaveObject
PKCS11_PAL_DestroyObject
PKCS11_PAL_FindObject
PKCS11_PAL_GetObjectValue
PKCS11_PAL_GetObjectValueCleanup
 PKCS11_PAL_InitializeInitializes the PKCS #11 PAL.
 PKCS11_PAL_SaveObjectSaves an object in non-volatile storage.
 PKCS11_PAL_DestroyObjectDelete an object from NVM.
 PKCS11_PAL_FindObjectTranslates a PKCS #11 label into an object handle.
 PKCS11_PAL_GetObjectValueGets the value of an object in storage, by handle.
 PKCS11_PAL_GetObjectValueCleanupCleanup after PKCS11_GetObjectValue().
 PKCS #11 Utils FunctionsPrimary functions of the PKCS #11 Utils Library:

PKI_mbedTLSSignatureToPkcs11Signature
PKI_pkcs11SignatureTombedTLSSignature
 PKI_mbedTLSSignatureToPkcs11SignatureConverts an ECDSA P-256 signature from the format provided by mbedTLS to the format expected by PKCS #11.
 PKI_pkcs11SignatureTombedTLSSignatureConverts and ECDSA P-256 signature from the format provided by PKCS #11 to an ASN.1 formatted signature.