CÁC HÀM PKCS#11

Ma trận hỗ trợ hàm

Một hàm không được xem là hỗ trợ chỉ vì có trong header Cryptoki. Ma trận phiên bản phải nêu rõ hành vi được triển khai và giới hạn.

01

Ma trận hàm

FunctionStatusContract
C_GetFunctionListRequiredReturns release function table
C_Initialize / C_FinalizeRequiredThreading flags and lifecycle
C_GetSlotList / C_GetTokenInfoRequiredStable slot/token identity
C_WaitForSlotEventOptional by releaseBlocking/event behavior
C_OpenSession / C_CloseSessionRequiredRO/RW and pooling
C_Login / C_LogoutRequiredUser/SO/context-specific profile
C_FindObjects*RequiredVisibility and pagination
C_GetAttributeValueRequiredPublished attribute behavior
C_GenerateKeyPairProfiledKey type/mechanism
C_DeriveKeyProfiledKEM/hybrid mapping by release
C_Sign* / C_Verify*Required for signing profileMechanism and encoding
C_DestroyObjectRequiredDeletion and zeroization evidence

02

Quy tắc đồng thời

  • C_Initialize threading flags accepted by the release.
  • Multi-thread and multi-process behavior.
  • Handle invalidation after token removal or failover.
  • Blocking behavior for long-running protected operations.
  • Finalization behavior with open sessions.