Table of Contents

Class TransactionDataExpectation

Namespace
Tessio.Verifier.Core
Assembly
Tessio.Verifier.Core.dll

The transaction data this presentation must acknowledge: the exact base64url strings sent in the request's transaction_data parameter. The wallet hashes each string (as received, without decoding) into the KB-JWT's transaction_data_hashes, binding the holder's signature to the transaction the credential authorizes (e.g. a payment).

public sealed record TransactionDataExpectation : IEquatable<TransactionDataExpectation>
Inheritance
TransactionDataExpectation
Implements
Inherited Members

Properties

AllowedHashAlgorithms

The request's transaction_data_hashes_alg values, when it constrained the hash algorithm. Null when the request carried none; the default is then sha-256.

public IReadOnlyList<string>? AllowedHashAlgorithms { get; init; }

Property Value

IReadOnlyList<string>

TransactionData

The base64url-encoded transaction_data strings, exactly as sent in the request.

public required IReadOnlyList<string> TransactionData { get; init; }

Property Value

IReadOnlyList<string>