One Logo Pool Ball
AuthenticationServices · IOS API REFERENCE

ASAuthorizationPublicKeyCredentialPRFAssertionOutput

struct · iOS 18.0+ · SDK 27.1

struct ASAuthorizationPublicKeyCredentialPRFAssertionOutput

The outputs of the WebAuthentication PRF extension, when requested during an assertion. This object represents one or two SymmetricKeys which are available anywhere the passkey can be used. These are general purpose keys which can be used for application-specific needs, such as encryption of user data. These keys should not be stored or exported. They should only ever be derived as the result of an assertion operation, and then discarded when finished.

Members (3)

init · iOS 18.0+

init

TypeScript
static init(first: _CryptoKit_SymmetricKey, second?: (_CryptoKit_SymmetricKey) | null): ASAuthorizationPublicKeyCredentialPRFAssertionOutput
Swift declaration
init(first: SymmetricKey, second: SymmetricKey?)
get · iOS 18.0+

first

TypeScript
get first(): _CryptoKit_SymmetricKey
Swift declaration
let first: SymmetricKey

A SymmetricKey that is unique to this passkey and derived from `input1`.

get · iOS 18.0+

second

TypeScript
get second(): (_CryptoKit_SymmetricKey) | null
Swift declaration
let second: SymmetricKey?

A second SymmetricKey that is unique to this passkey, and derived from `input2` if it was specified. If `input2` was not specified, this will be nil.

Skipped declarations

No declarations were skipped in this snapshot.

All AuthenticationServices types →