<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.14.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GSS",
  "identifier" : "/documentation/GSS/GSS_C_CONF_FLAG",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "GSS"
    ],
    "preciseIdentifier" : "c:@macro@GSS_C_CONF_FLAG"
  },
  "title" : "GSS_C_CONF_FLAG"
}
-->

# GSS_C_CONF_FLAG

A flag that makes confidentiality services (that is, encryption) available for transferred messages.

```
var GSS_C_CONF_FLAG: Int32 { get }
```

## Discussion

When set, you can use the [`gss_wrap(_:_:_:_:_:_:_:)`](/documentation/GSS/gss_wrap(_:_:_:_:_:_:_:)) and [`gss_unwrap(_:_:_:_:_:_:)`](/documentation/GSS/gss_unwrap(_:_:_:_:_:_:)) functions to encrypt and decrypt the data transferred. When the flag is not set, you can perform your own data level encryption, but the GSS-API does not provide this service.

---

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)