<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -",
    "macOS: 14.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -",
    "watchOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "LightweightCodeRequirements",
  "identifier" : "/documentation/LightweightCodeRequirements/ProcessCodeSigningFlags",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "LightweightCodeRequirements"
    ],
    "preciseIdentifier" : "s:27LightweightCodeRequirements07ProcessB12SigningFlagsV"
  },
  "title" : "ProcessCodeSigningFlags"
}
-->

# ProcessCodeSigningFlags

A constraint that matches the current code-signing flags of a process.

```
struct ProcessCodeSigningFlags
```

## Topics

### Structures

[`struct ValueSet`](/documentation/LightweightCodeRequirements/ProcessCodeSigningFlags/ValueSet)

Code signing flags that can be set on a process

### Type Aliases

[`typealias DataType`](/documentation/LightweightCodeRequirements/ProcessCodeSigningFlags/DataType)

The basic input data type for this constraint: `ProcessCodeSigningFlags.ValueSet`

[`typealias OutType`](/documentation/LightweightCodeRequirements/ProcessCodeSigningFlags/OutType)

The type of this constraint: [`ProcessCodeSigningFlags`](/documentation/LightweightCodeRequirements/ProcessCodeSigningFlags)

### Type Methods

[`static func isSuperset(of: ProcessCodeSigningFlags.DataType) -> ProcessCodeSigningFlags.OutType`](/documentation/LightweightCodeRequirements/ProcessCodeSigningFlags/isSuperset(of:))

Matches when the code signing flags on the process are a superset of the specified flags.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Encodable`](/documentation/Swift/Encodable)

[`Decodable`](/documentation/Swift/Decodable)

[`ProcessConstraint`](/documentation/LightweightCodeRequirements/ProcessConstraint)

[`LaunchConstraint`](/documentation/LightweightCodeRequirements/LaunchConstraint)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)