<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "OpenDirectory",
  "identifier" : "/documentation/OpenDirectory/kODAuthenticationTypeSetCertificateHashAsCurrent",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Open Directory"
    ],
    "preciseIdentifier" : "c:@kODAuthenticationTypeSetCertificateHashAsCurrent"
  },
  "title" : "kODAuthenticationTypeSetCertificateHashAsCurrent"
}
-->

# kODAuthenticationTypeSetCertificateHashAsCurrent

An authentication type to set the certificate using the authenticated user’s credentials.

```
let kODAuthenticationTypeSetCertificateHashAsCurrent: String
```

## Discussion

The authentication array contains the following items (in order):

- The username in UTF-8 format
- Hashed certificate data (40 hex digits)

---

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)