< Previous PageNext Page > Hide TOC

Deprecated Keychain Manager Functions

A function identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in Mac OS X v10.5

KCMakeKCRefFromFSSpec

Creates a keychain reference from a file specification record. (Deprecated in Mac OS X v10.5.)

Not Recommended

OSStatus KCMakeKCRefFromFSSpec (
   FSSpec *keychainFSSpec,
   KCRef *keychain
);

Parameters
keychainFSSpec

A pointer to a keychain file specification record.

keychain

On return, a pointer to a reference to the keychain specified by the file in the keychainFSSpec parameter.

Return Value

A result code. See “Keychain Manager Result Codes.”

Special Considerations

When you are finished with a keychain, you should call the function KCReleaseKeychain to deallocate its memory. You should not use the keychain after its memory has been deallocated.

Version Notes

Available beginning with KeychainLib 2.0.

Availability
Carbon Porting Notes

Use the SecKeychainOpen function in Keychain Services instead. If the keychain doesn’t exist, use the SecKeychainCreate function in Keychain Services.

Declared In
KeychainCore.h

< Previous PageNext Page > Hide TOC


© 2001, 2005 Apple Computer, Inc. All Rights Reserved. (Last updated: 2005-07-07)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.