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

type C_SetPIN = extern "C" fn(hSession: CK_SESSION_HANDLE, pOldPin: CK_UTF8CHAR_PTR, ulOldLen: CK_ULONG, pNewPin: CK_UTF8CHAR_PTR, ulNewLen: CK_ULONG) -> CK_RV;

C_SetPIN modifies the PIN of the user who is logged in.

Function Parameters

  • hSession: the session's handle
  • pOldPin: the old PIN
  • ulOldLen: length of the old PIN
  • pNewPin: the new PIN
  • ulNewLen: length of the new PIN