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

# Code Signing Information Flags

Use these supplemental flags to retrieve signing information.

## Discussion

Use these constants with the [`SecCodeCopySigningInformation(_:_:_:)`](/documentation/Security/SecCodeCopySigningInformation(_:_:_:)) function to specify what type of information to return. See [Signing Information Dictionary Keys](/documentation/Security/signing-information-dictionary-keys) for more information about the information returned.

## Topics

### Constants

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

Internal code signing information.

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

Cryptographic signing information.

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

Code requirements—including the designated requirement—embedded in the code.

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

Dynamic validity information about running code.

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

More information about the file system contents making up the signed code on disk.

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

Suppress validating the resource directory.

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



---

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)