<!--
{
  "documentType" : "article",
  "framework" : "Security",
  "identifier" : "/documentation/Security/security-constants",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Security Constants"
}
-->

# Security Constants

## Topics

### Constants

[`var kAuthorizationExternalFormLength: Int32`](/documentation/Security/kAuthorizationExternalFormLength)

The number of bytes in an external form structure’s array.

[`var kAuthorizationFlags: String`](/documentation/Security/kAuthorizationFlags)

[`let kSecCFErrorResourceRecursive: CFString`](/documentation/Security/kSecCFErrorResourceRecursive)

[`let kSecCodeInfoDefaultDesignatedLightweightCodeRequirement: CFString`](/documentation/Security/kSecCodeInfoDefaultDesignatedLightweightCodeRequirement)

[`let kSecCodeInfoStapledNotarizationTicket: CFString`](/documentation/Security/kSecCodeInfoStapledNotarizationTicket)

[`let kSecImportToMemoryOnly: CFString`](/documentation/Security/kSecImportToMemoryOnly)

[`let kSecMatchHostOrSubdomainOfHost: CFString`](/documentation/Security/kSecMatchHostOrSubdomainOfHost)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)