skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 1:... HP Open Source Security for OpenVMS Volume 1:...
go to beginning of reference: API Functions API Functions
go to previous page: CSSM_CSP_GetLoginOwner CSSM_CSP_GetLoginOwner
go to next page: CSSM_CSP_LogoutCSSM_CSP_Logout
end of book navigation links


CSSM_CSP_Login
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

CSSM_CSP_Login - Log user in to the CSP (CDSA)

SYNOPSIS  

# include <cssm.h>

CSSM_RETURN CSSMAPI CSSM_CSP_Login
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_ACCESS_CREDENTIALS *AccessCred,
const CSSM_DATA *LoginName,
const void *Reserved)


return to top LIBRARY  

Common Security Services Manager library (cdsa$incssm300_shr.exe)


return to top PARAMETERS  

CSPHandle (input)
 Handle of the CSP to log in to.
AccessCred (input)
 A pointer to the set of one or more credentials required to log in to the token or Cryptographic Service Provider. The credentials structure can contain an immediate value for the credential, such as a passphrase or PIN, or the caller can specify a callback function the CSP can use to obtain one or more credentials.
LoginName (input/optional)
 A name or ID of the caller. The value is used with the provided AccessCred to authenticate and authorize the caller for login with the CSP. The CSP can require that a name value be provided. If a name value is not provided, the CSP can assume a default name under which to perform the authentication and authorization check, or the login request can fail.
Reserved (input)
 This field is reserved for future use. The value NULL should always be given. (May be used for multiple user support in the future.)


return to top DESCRIPTION  

Logs the user in to the CSP, allowing for multiple login types.


return to top RETURN VALUE  

A CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition.


return to top ERRORS  

Errors are described in the CDSA Technical Standard.
CSSMERR_CSP_INVALID_LOGIN_NAME
CSSMERR_CSP_ALREADY_LOGGED_IN


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: CSSM_CSP_GetLoginAcl, CSSM_CSP_ChangeLoginAcl, CSSM_CSP_Logout


go to previous page: CSSM_CSP_GetLoginOwner CSSM_CSP_GetLoginOwner
go to next page: CSSM_CSP_LogoutCSSM_CSP_Logout