---
title: GSS_C_QOP_DEFAULT
framework: GSS
role: symbol
role_heading: Global Variable
platforms: [iOS 5.0+, iPadOS 5.0+, Mac Catalyst 13.0+, macOS 10.14+, visionOS 1.0+]
path: gss/gss_c_qop_default
---

# GSS_C_QOP_DEFAULT

The default Quality of Protection for per-message services.

## Declaration

```swift
var GSS_C_QOP_DEFAULT: Int32 { get }
```

## Discussion

Discussion An implementation that offers multiple levels of QOP may define this value to be either zero (as done here) to mean “default protection,” or to a specific explicit QOP value. However, a value of 0 is always interpreted by a GSS-API implementation as a request for the default protection level.

## See Also

### Quality of Protection Constants

- [GSS_KRB5_CONF_C_QOP_DES](gss/gss_krb5_conf_c_qop_des.md)
- [GSS_KRB5_CONF_C_QOP_DES3_KD](gss/gss_krb5_conf_c_qop_des3_kd.md)
