<!--
{
  "documentType" : "article",
  "framework" : "Security",
  "identifier" : "/documentation/Security/code-signing-architecture-flags",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Code Signing Architecture Flags"
}
-->

# Code Signing Architecture Flags

Use these supplemental flags to get static code.

## Discussion

These flags supplement the flags described in [`SecCSFlags`](/documentation/Security/SecCSFlags). Use these additional constants with the `flags` parameter of the [`SecCodeCopyStaticCode(_:_:_:)`](/documentation/Security/SecCodeCopyStaticCode(_:_:_:)) function.

## Topics

### Constants

[`var kSecCSUseAllArchitectures: UInt32`](/documentation/Security/kSecCSUseAllArchitectures)

Flag for requesting all architectures.



---

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)