init(relyingParty:clientDataHash:credentialID:attestationObject:extensionOutput:)
Initializes a passkey registration credential object.
Declaration
convenience init(relyingParty: String, clientDataHash: Data, credentialID: Data, attestationObject: Data, extensionOutput: ASPasskeyRegistrationCredentialExtensionOutput?)Parameters
- relyingParty:
The relying party associated with the passkey.
- clientDataHash:
A hash of the client data for the credential.
- credentialID:
The identifier for the credential.
- attestationObject:
The attestation object for the passkey, which may contain an attestation statement and authenticator data.
- extensionOutput:
The extension output data.