AuthenticatorAttestationResponse Class

The response of an authenticator to a registration (https://w3c.github.io/webauthn/#iface-authenticatorattestationresponse).

public sealed class AuthenticatorAttestationResponse : AuthenticatorResponse
Inheritance
AuthenticatorResponse AuthenticatorAttestationResponse

Properties

NameDescription
AttestationObjectGets the attestation object (https://w3c.github.io/webauthn/#dom-authenticatorattestationresponse-attestationobject): the CBOR map of the attestation statement and of the authenticator data.
AttestationObjectBufferGets the ArrayBuffer of the attestation object for the scripts: use AuthenticatorAttestationResponse.AttestationObject in .NET code.

AttestationObject

PublicKeyCredential.cs

Gets the attestation object (https://w3c.github.io/webauthn/#dom-authenticatorattestationresponse-attestationobject): the CBOR map of the attestation statement and of the authenticator data.

public ReadOnlyMemory<byte> AttestationObject { get; }

Property value

ReadOnlyMemory<byte>

AttestationObjectBuffer

PublicKeyCredential.cs

Gets the ArrayBuffer of the attestation object for the scripts: use AuthenticatorAttestationResponse.AttestationObject in .NET code.

public object AttestationObjectBuffer { get; }

Methods

NameDescription
GetAuthenticatorData()Returns a copy of the authenticator data contained in the attestation object.
GetPublicKey()Returns a copy of the DER SubjectPublicKeyInfo of the credential public key, or null.
GetPublicKeyAlgorithm()Returns the COSE algorithm identifier of the credential public key.
GetTransports()Returns the transports of the authenticator, sorted.

GetAuthenticatorData()

PublicKeyCredential.cs

Returns a copy of the authenticator data contained in the attestation object.

public byte[] GetAuthenticatorData()

Returns a copy of the DER SubjectPublicKeyInfo of the credential public key, or null.

public byte[]? GetPublicKey()

GetPublicKeyAlgorithm()

PublicKeyCredential.cs

Returns the COSE algorithm identifier of the credential public key.

public int GetPublicKeyAlgorithm()

GetTransports()

PublicKeyCredential.cs

Returns the transports of the authenticator, sorted.

public IReadOnlyList<string> GetTransports()