Previous section.

Common Security: CDSA and CSSM
Copyright © 1997 The Open Group

NAME

CSP_Logout

SYNOPSIS

CSSM_RETURN CSSMSPI CSP_Logout
    (CSSM_CSP_HANDLE CSPHandle)

DESCRIPTION

Terminates the login session associated with the specified CSP Handle.

PARAMETERS

CSPHandle (input)

Handle for the target CSP.

RETURN VALUE

CSSM_OK if successful, CSSM_FAIL if an error occurred. Use CSSM_GetError to determine the exact error.

ERRORS

CSSM_CSP_INVALID_CSP

Invalid CSP handle.

CSSM_CSP_MEMORY_ERROR

Not enough memory to allocate.

CSSM_CSP_NOT_LOGGED_IN

No login session existed.

CSSM_CSP_OPERATION_UNSUPPORTED

Log out service not supported.

SEE ALSO

CSP_Login, CSP_ChangeLoginPassword

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.
You should also read the legal notice explaining the terms and conditions relating to the CDSA documentation.

Contents Next section Index