Structure

SecKeychainAttributeInfo

A structure that represents an attribute.

Declaration

struct 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

var count: UInt32

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

var format: UnsafeMutablePointer<UInt32>?

A pointer to the first attribute format in the array.

var tag: UnsafeMutablePointer<UInt32>

A pointer to the first attribute tag in the array.

See Also

Legacy Attribute Info

func SecKeychainFreeAttributeInfo(UnsafeMutablePointer<SecKeychainAttributeInfo>) -> OSStatus

Releases the memory acquired by calling the SecKeychainAttributeInfoForItemID function.

enum SecItemAttr

Specifies a keychain item’s attributes.

Keychain Item Attribute Constants For Keys

Specifies the attributes for a key item in a keychain.

typealias SecAFPServerSignature

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