Structure

SecKeychainAttributeInfo

A structure that represents an attribute.

Declaration

typedef struct SecKeychainAttributeInfo {
    ...
} SecKeychainAttributeInfo;

Overview

Each tag and format item form a pair. Use SecKeychainAttributeInfoForItemID to obtain the structure for a given keychain item, and SecKeychainFreeAttributeInfo to release that structure's memory when you are done with it. Use an instance of this structure in a call to the SecKeychainItemCopyAttributesAndData function to specify the attributes of a keychain item to retrieve.

Topics

Instance Properties

count

The number of tag-format pairs in the respective arrays.

format

A pointer to the first attribute format in the array.

tag

A pointer to the first attribute tag in the array.

See Also

Legacy Attribute Info

SecKeychainAttributeInfoForItemID

Obtains tags for all possible attributes of a given item class.

SecKeychainFreeAttributeInfo

Releases the memory acquired by calling the SecKeychainAttributeInfoForItemID function.

SecItemAttr

Specifies a keychain item’s attributes.

Keychain Item Attribute Constants For Keys

Specifies the attributes for a key item in a keychain.

SecAFPServerSignature

Represents a 16-byte Apple File Protocol server signature block.