Contents

SecKeychainGetCSPHandle

Returns the CSSM CSP handle for the given keychain object.

Declaration

OSStatus SecKeychainGetCSPHandle(SecKeychainRef keychain, CSSM_CSP_HANDLE *cspHandle);

Parameters

  • keychain:

    A keychain object.

  • cspHandle:

    On return, a pointer to the CSSM CSP handle for the given keychain. The handle is valid until the keychain object is released.

Return Value

A result code. See Security Framework Result Codes.

Discussion