---
title: errSecInvalidAttributePrivateKeyFormat
framework: security
role: symbol
role_heading: Global Variable
path: security/errsecinvalidattributeprivatekeyformat
---

# errSecInvalidAttributePrivateKeyFormat

A private key format attribute is not valid.

## Declaration

```swift
var errSecInvalidAttributePrivateKeyFormat: OSStatus { get }
```
