DigitalCredentialResponse Class

The response of a wallet to a digital credential request: the protocol of the request it answered, and its response serialized to JSON.

public sealed class DigitalCredentialResponse : IEquatable<DigitalCredentialResponse>
Implements

Constructors

NameDescription
DigitalCredentialResponse(string, string)The response of a wallet to a digital credential request: the protocol of the request it answered, and its response serialized to JSON.

DigitalCredentialResponse(string, string)

UserAgentUIBackend.DigitalCredentials.cs

The response of a wallet to a digital credential request: the protocol of the request it answered, and its response serialized to JSON.

public DigitalCredentialResponse(string Protocol, string Data)

Parameters

Protocol string
The protocol of the request that the wallet answered.
Data string
The response, specific to the protocol: a JSON object (the DigitalCredential.Data of the credential).

Properties

NameDescription
DataThe response, specific to the protocol: a JSON object (the DigitalCredential.Data of the credential).
ProtocolThe protocol of the request that the wallet answered.

The response, specific to the protocol: a JSON object (the DigitalCredential.Data of the credential).

public string Data { get; init; }

Property value

string

The protocol of the request that the wallet answered.

public string Protocol { get; init; }

Property value

string

Methods

NameDescription
Deconstruct(string, string)
Equals(DigitalCredentialResponse?)
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(DigitalCredentialResponse?)

public bool Equals(DigitalCredentialResponse? other)
Parameters
other DigitalCredentialResponse?
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 ==(DigitalCredentialResponse?, DigitalCredentialResponse?)
operator !=(DigitalCredentialResponse?, DigitalCredentialResponse?)

operator ==(DigitalCredentialResponse?, DigitalCredentialResponse?)

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

No documentation is available.

operator !=(DigitalCredentialResponse?, DigitalCredentialResponse?)

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

No documentation is available.