Global Variable

kSecAttrCanVerify

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

Declaration

const CFStringRef kSecAttrCanVerify;

Discussion

The corresponding value is of type CFBooleanRef and indicates whether this cryptographic key can be used to verify a digital signature.

On key creation, if not explicitly specified, this attribute defaults to kCFBooleanFalse for private keys and kCFBooleanTrue 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.

kSecAttrCanWrap

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

kSecAttrCanUnwrap

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