Global Variable

kSecAttrCanUnwrap

A key whose value is a Boolean that indicates whether the cryptographic key can be used for unwrapping.

Declaration

const CFStringRef kSecAttrCanUnwrap;

Discussion

The corresponding value is of type CFBooleanRef and indicates whether this cryptographic key can be used to unwrap another key.

On key creation, if not explicitly specified, this attribute defaults to kCFBooleanTrue for private keys and kCFBooleanFalse for public keys.

See Also

Optional

kSecAttrLabel

A key whose value is a string indicating the item's label.

kSecAttrTokenID

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

kSecAttrIsPermanent

A key whose value indicates the item's permanence.

kSecAttrApplicationTag

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

kSecAttrEffectiveKeySize

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

kSecAttrCanEncrypt

A key whose value is a Boolean that indicates whether the cryptographic key can be used for encryption.

kSecAttrCanDecrypt

A key whose value is a Boolean that indicates whether the cryptographic key can be used for decryption.

kSecAttrCanDerive

A key whose value is a Boolean that indicates whether the cryptographic key can be used for derivation.

kSecAttrCanSign

A key whose value is a Boolean that indicates whether the cryptographic key can be used for digital signing.

kSecAttrCanVerify

A key whose value is a Boolean that indicates whether the cryptographic key can be used for signature verification.

kSecAttrCanWrap

A key whose value is a Boolean that indicates whether the cryptographic key can be used for wrapping.