Skip to content

Latest commit

 

History

History
90 lines (60 loc) · 3.06 KB

DSInternals.Win32.WebAuthn.FIDO.CollectedClientData.md

File metadata and controls

90 lines (60 loc) · 3.06 KB

Class CollectedClientData

Namespace: DSInternals.Win32.WebAuthn.FIDO
Assembly: DSInternals.Win32.WebAuthn.dll

public class CollectedClientData

Inheritance

objectCollectedClientData

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Challenge

This member contains the base64url encoding of the challenge provided by the Relying Party.

[JsonPropertyName("challenge")]
[JsonRequired]
[JsonConverter(typeof(Base64UrlConverter))]
[JsonPropertyOrder(1)]
public byte[] Challenge { get; set; }

Property Value

byte[]

CrossOrigin

This member contains the inverse of the sameOriginWithAncestors argument value that was passed into the internal method.

[JsonPropertyName("crossOrigin")]
[JsonPropertyOrder(3)]
public bool CrossOrigin { get; set; }

Property Value

bool

Origin

This member contains the fully qualified origin of the requester, as provided to the authenticator by the client, in the syntax defined by RFC6454.

[JsonPropertyName("origin")]
[JsonRequired]
[JsonPropertyOrder(2)]
public string Origin { get; set; }

Property Value

string

Type

This member contains the string "webauthn.create" when creating new credentials, and "webauthn.get" when getting an assertion from an existing credential.

[JsonPropertyName("type")]
[JsonRequired]
[JsonPropertyOrder(0)]
public string Type { get; set; }

Property Value

string

Remarks

The purpose of this member is to prevent certain types of signature confusion attacks (where an attacker substitutes one legitimate signature for another).