Global Variable

kSecAttrEffectiveKeySize

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

Declaration

const CFStringRef kSecAttrEffectiveKeySize;

Discussion

The corresponding value is of type CFNumberRef and indicates the effective number of bits in this cryptographic key. For example, a DES key has a kSecAttrKeySizeInBits of 64, but a kSecAttrEffectiveKeySize of 56 bits.

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.

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.

kSecAttrCanUnwrap

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