Global Variable

kSecAttrKeyClass

A key whose value indicates the item's cryptographic key class.

Declaration

let kSecAttrKeyClass: CFString

Discussion

The corresponding value is of type CFTypeRef and specifies a type of cryptographic key. Possible values are listed in Key Class Values. Read only.

See Also

Cryptographic Key Attribute Keys

let kSecAttrApplicationLabel: CFString

A key whose value indicates the item's application label.

let kSecAttrApplicationTag: CFString

A key whose value indicates the item's private tag.

let kSecAttrKeyType: CFString

A key whose value indicates the item's algorithm.

let kSecAttrPRF: CFString

A key whose value indicates the item's pseudorandom function.

let kSecAttrSalt: CFString

A key whose value indicates the salt to use for this item.

let kSecAttrRounds: CFString

A key whose value indicates the number of rounds to run the pseudorandom function.

let kSecAttrKeySizeInBits: CFString

A key whose value indicates the number of bits in a cryptographic key.

let kSecAttrEffectiveKeySize: CFString

A key whose value indicates the effective number of bits in a cryptographic key.

let kSecAttrTokenID: CFString

A key whose value indicates that a cryptographic key is in an external store.