Carbon


Keychain Item Type Constants

Header: Keychain.h

Identify the type of keychain item.

enum {
    kCertificateKCItemClass = ''cert'',
    kAppleSharePasswordKCItemClass = ''ashp'',
    kInternetPasswordKCItemClass = ''inet'',
    kGenericPasswordKCItemClass = ''genp''
};

Constant descriptions

kCertificateKCItemClass

Specifies that the item is a digital certificate.

kAppleSharePasswordKCItemClass

Specifies that the item is an AppleShare password.

kInternetPasswordKCItemClass

Specifies that the item is an Internet password.

kGenericPasswordKCItemClass

Specifies that the item is a generic password.

The KCItemClass enumeration defines constants your application can use to specify the type of the keychain item you wish to create, dispose, add, delete, update, copy, or locate. You pass a constant of this type to the functions KCNewItem, KCReleaseItem KCAddItem, KCDeleteItem, KCUpdateItem, KCCopyItem, and KCGetKeychain. You can also use these constants with the tag constant kClassKCItemAttr, described in “Keychain Item Data Tag Constants”.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)