AuthenticatorAttestationResponse Class
The response of an authenticator to a registration (https://w3c.github.io/webauthn/#iface-authenticatorattestationresponse).
public sealed class AuthenticatorAttestationResponse : AuthenticatorResponse- Inheritance
AuthenticatorResponseAuthenticatorAttestationResponse
Properties
| Name | Description |
|---|---|
| AttestationObject | Gets the attestation object (https://w3c.github.io/webauthn/#dom-authenticatorattestationresponse-attestationobject): the CBOR map of the attestation statement and of the authenticator data. |
| AttestationObjectBuffer | Gets the ArrayBuffer of the attestation object for the scripts: use AuthenticatorAttestationResponse.AttestationObject in .NET code. |
AttestationObject
PublicKeyCredential.csGets 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
AttestationObjectBuffer
PublicKeyCredential.csGets the ArrayBuffer of the attestation object for the scripts: use AuthenticatorAttestationResponse.AttestationObject in .NET code.
public object AttestationObjectBuffer { get; }Methods
| Name | Description |
|---|---|
| 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.csReturns a copy of the authenticator data contained in the attestation object.
public byte[] GetAuthenticatorData()GetPublicKey()
PublicKeyCredential.csReturns a copy of the DER SubjectPublicKeyInfo of the credential public key, or null.
public byte[]? GetPublicKey()Returns
byte[]?
See also
GetPublicKeyAlgorithm()
PublicKeyCredential.csReturns the COSE algorithm identifier of the credential public key.
public int GetPublicKeyAlgorithm()GetTransports()
PublicKeyCredential.csReturns the transports of the authenticator, sorted.
public IReadOnlyList<string> GetTransports()