<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASPublicKeyCredential",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(pl)ASPublicKeyCredential"
  },
  "title" : "ASPublicKeyCredential"
}
-->

# ASPublicKeyCredential

An interface that defines the properties of the public key.

```
protocol ASPublicKeyCredential : ASAuthorizationCredential
```

## Topics

### Getting the properties

[`credentialID`](/documentation/AuthenticationServices/ASPublicKeyCredential/credentialID)

An identifier that the authenticator generates during registration to uniquely identify a specific credential.

[`rawClientDataJSON`](/documentation/AuthenticationServices/ASPublicKeyCredential/rawClientDataJSON)

Raw data that contains a JSON-compatible encoding of the client data.



---

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)