C_SetPIN

Synopsis

C_SetPIN(
        CK_SESSION_HANDLE hSession,
        CK_CHAR_PTR pOldPin,
        CK_ULONG ulOldLen,
        CK_CHAR_PTR pNewPin,
        CK_ULONG ulNewLen
); 

Description

This function operates as specified in PKCS#11.

When the module is in the NoClearPINs mode the host library protection system will encrypt the sensitive material before presenting it to the adapter.

Operation in WLD Mode

When SafeNet ProtectToolkit is configured to operate in WLD mode, this function is not supported and will return the error CKR_FUNCTION_NOT_SUPPORTED.