<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialPRFRegistrationOutput-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "s:22AuthenticationServices55ASAuthorizationPublicKeyCredentialPRFRegistrationOutputV"
  },
  "title" : "ASAuthorizationPublicKeyCredentialPRFRegistrationOutput"
}
-->

# ASAuthorizationPublicKeyCredentialPRFRegistrationOutput

A type to represent outputs of the web authentication PRF extension, when requesting them during a registration.

```
struct ASAuthorizationPublicKeyCredentialPRFRegistrationOutput
```

## Overview

This object represents one or two `SymmetricKey` keys that are available anywhere the passkey is available for use. These are general purpose keys that you can use for application-specific needs, such as encryption of user data.

Don’t store or export these keys. Derive these keys only as the result of an assertion operation, and then discard them when the operation finishes.

## Topics

### Creating an outputs instance

[`init(first:second:)`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialPRFRegistrationOutput-swift.struct/init(first:second:))

Initializes an object representing the outputs of the web authentication PRF extension.

### Determining PRF support

[`isSupported`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialPRFRegistrationOutput-swift.struct/isSupported)

A Boolean value that indicates whether the newly created passkey supports the PRF extension.

### Using defined support values

[`supported`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialPRFRegistrationOutput-swift.struct/supported)

A Boolean value that indicates the newly created passkey supports the PRF extension.

[`unsupported`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialPRFRegistrationOutput-swift.struct/unsupported)

A Boolean value that indicates the newly created passkey doesn’t support the PRF extension.

### Accessing symmetric keys

[`first`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialPRFRegistrationOutput-swift.struct/first)

A symmetric key that’s unique to the passkey and derives from the first input, if specified.

[`second`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialPRFRegistrationOutput-swift.struct/second)

A second symmetric key that’s unique to the passkey, and derives from the second input, if specified.



---

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)