Proof class

A W3C Data Integrity Proof object (SPEC.md §4.7). Opaque to the framework, which never inspects it beyond noticing that it is present.

Constructors

Proof({required String type, required String cryptosuite, required String verificationMethod, required String created, required String proofPurpose, required String proofValue, Map<String, Object?> extra = const <String, Object?>{}})
const
Proof.fromJson(Map<String, dynamic> json)
factory

Properties

created → String
final
cryptosuite → String
final
extra → Map<String, Object?>
Any further members the cryptosuite defines, preserved on round-trip so a proof this framework does not understand still verifies against the bytes it arrived as.
final
hashCode → int
The hash code for this object.
no setterinherited
proofPurpose → String
final
proofValue → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
final
verificationMethod → String
final

Methods

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

Operators

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