Structure

SecKeychainAttribute

A structure that holds a single keychain attribute.

Declaration

typedef struct SecKeychainAttribute {
    ...
} SecKeychainAttribute;

Topics

Instance Properties

data

A pointer to the attribute data.

length

The length of the buffer pointed to by data.

tag

A 4-byte attribute tag.

See Also

Legacy Keychain Item Management

SecKeychainItemCopyAttributesAndData

Retrieves the data and/or attributes stored in the given keychain item.

SecKeychainItemModifyAttributesAndData

Updates an existing keychain item after changing its attributes or data.

SecKeychainItemFreeAttributesAndData

Releases the memory used by the keychain attribute list and/or the keychain data retrieved in a call to SecKeychainItemCopyAttributesAndData.

SecKeychainItemCopyContent

Copies the data and attributes stored in the given keychain item.

SecKeychainItemModifyContent

Updates an existing keychain item after changing its attributes and/or data.

SecKeychainItemFreeContent

Releases the memory used by the keychain attribute list and the keychain data retrieved in a call to the SecKeychainItemCopyContent function.

SecKeychainItemCopyKeychain

Returns the keychain object of a given keychain item.

SecKeychainItemDelete

Deletes a keychain item from the default keychain’s permanent data store.

SecKeychainAttrType

The keychain attribute type.

SecKeychainAttributePtr

A pointer to a keychain attribute structure.

SecKeychainAttributeList

A list of keychain attributes.