DigitalCredentialRequest Class

A request of a digital credential: its protocol, and its data serialized to JSON.

public sealed class DigitalCredentialRequest : IEquatable<DigitalCredentialRequest>
Implements

Constructors

NameDescription
DigitalCredentialRequest(string, string)A request of a digital credential: its protocol, and its data serialized to JSON.

DigitalCredentialRequest(string, string)

UserAgentUIBackend.DigitalCredentials.cs

A request of a digital credential: its protocol, and its data serialized to JSON.

public DigitalCredentialRequest(string Protocol, string Data)

Parameters

Protocol string
The protocol of the request (e.g. openid4vp-v1-unsigned, org-iso-mdoc or openid4vci-v1).
Data string
The data of the request, specific to the protocol, serialized to JSON.

Properties

NameDescription
DataThe data of the request, specific to the protocol, serialized to JSON.
ProtocolThe protocol of the request (e.g. openid4vp-v1-unsigned, org-iso-mdoc or openid4vci-v1).

The data of the request, specific to the protocol, serialized to JSON.

public string Data { get; init; }

Property value

string

The protocol of the request (e.g. openid4vp-v1-unsigned, org-iso-mdoc or openid4vci-v1).

public string Protocol { get; init; }

Property value

string

Methods

NameDescription
Deconstruct(string, string)
Equals(DigitalCredentialRequest?)
Equals(object?)
GetHashCode()
ToString()

Deconstruct(string, string)

public void Deconstruct(out string Protocol, out string Data)

Parameters

Protocol string
Data string

No documentation is available.

Equals overloads

Equals(DigitalCredentialRequest?)

public bool Equals(DigitalCredentialRequest? other)
Parameters
other DigitalCredentialRequest?
Returns

bool

No documentation is available.

Equals(object?)

public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(DigitalCredentialRequest?, DigitalCredentialRequest?)
operator !=(DigitalCredentialRequest?, DigitalCredentialRequest?)

operator ==(DigitalCredentialRequest?, DigitalCredentialRequest?)

public static bool operator ==(DigitalCredentialRequest? left, DigitalCredentialRequest? right)

No documentation is available.

operator !=(DigitalCredentialRequest?, DigitalCredentialRequest?)

public static bool operator !=(DigitalCredentialRequest? left, DigitalCredentialRequest? right)

No documentation is available.