CSSM_CSP_Login

Purpose

Logs the user into the CSP, allowing for multiple login types and parallel operation notification.

Format

CSSM_RETURN CSSMAPI CSSM_CSP_Login 
               (CSSM_CSP_HANDLE CSPHandle,
               const CSSM_CRYPTO_DATA_PTR Password,
               const CSSM_DATA_PTR pReserved)

Parameters

Input
CSPHandle
Handle of the CSP to log into.
Password
Password used to log into the token.
pReserved
This field is reserved for future use. The value NULL should always be given.

Return Value

CSSM_OK if login is successful, CSSM_FAIL is login fails. Use CSSM_GetError to determine the exact error.

Related Information

CSSM_CSP_ChangeLoginPassword
CSSM_CSP_Logout