An invalid key hierarchy was detected.
SDKs
- iOS 10.3+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 10.2+
- watchOS 3.2+
Framework
- Security
Declaration
var errSecInvalidKeyHierarchy: OSStatus { get }
An invalid key hierarchy was detected.
SDKs
Framework
var errSecInvalidKeyHierarchy: OSStatus { get }
var err Sec Key Usage Incorrect: OSStatus
The key usage is incorrect.
var err Sec Key Blob Type Incorrect: OSStatus
The key blob type is incorrect.
var err Sec Key Header Inconsistent: OSStatus
The key header is inconsistent.
var err Sec Key Is Sensitive: OSStatus
The key must be wrapped to be exported.
var err Sec Unsupported Key Format: OSStatus
The key header format is not supported.
var err Sec Unsupported Key Size: OSStatus
The key size is not supported.
var err Sec Invalid Key Usage Mask: OSStatus
The key usage mask is not valid.
var err Sec Unsupported Key Usage Mask: OSStatus
The key usage mask is not supported.
var err Sec Invalid Key Attribute Mask: OSStatus
The key attribute mask is not valid.
var err Sec Unsupported Key Attribute Mask: OSStatus
The key attribute mask is not supported.
var err Sec Invalid Key Label: OSStatus
The key label is not valid.
var err Sec Unsupported Key Label: OSStatus
The key label is not supported.
var err Sec Invalid Key Format: OSStatus
The key format is not valid.
var err Sec Invalid Key Blob: OSStatus
The specified database has an invalid key blob.
var err Sec Invalid Key Ref: OSStatus
An invalid key was encountered.
var err Sec Invalid Key Usage For Policy: OSStatus
The key usage is not valid for the specified policy.