[][src]Type Definition pkcs11::functions::C_InitToken

type C_InitToken = extern "C" fn(slotID: CK_SLOT_ID, pPin: CK_UTF8CHAR_PTR, ulPinLen: CK_ULONG, pLabel: CK_UTF8CHAR_PTR) -> CK_RV;

C_InitToken initializes a token.

Function Parameters

  • slotID: ID of the token's slot
  • pPin: the SO's initial PIN
  • ulPinLen: length in bytes of the PIN
  • pLabel: 32-byte token label (blank padded)