VdspQueryDataProofContext class

Proof generation context supplied by the verifier.

The challenge guards against replay while domain scopes the proof to an application or audience specific value.

Annotations
  • @JsonSerializable.new(includeIfNull: false, explicitToJson: true)

Constructors

VdspQueryDataProofContext({required String challenge, required String domain})
Constructs a proof context used during cryptographic proof generation.
VdspQueryDataProofContext.fromJson(Map<String, dynamic> json)
Creates a proof context from JSON.
factory

Properties

challenge String
Challenge string for replay protection.
final
domain String
Domain scoping value for the proof.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this context to JSON.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited