DataIntegrityProof class
W3C Data Integrity proof. Spec body pins cryptosuite and proofPurpose; this schema permits the standard property bag so future cryptosuites can ride the same shape.
Constructors
- DataIntegrityProof({required Object? type, required String cryptosuite, required String verificationMethod, String? created, required Object? proofPurpose, required String proofValue})
-
const
-
DataIntegrityProof.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- created → String?
-
final
- cryptosuite → String
-
This version pins
eddsa-jcs-2022. Maintainers MUST reject other values until a future minor extends the allowlist.final - hashCode → int
-
The hash code for this object.
no setterinherited
- proofPurpose → Object?
-
final
- proofValue → String
-
Multibase-encoded Ed25519 signature.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → Object?
-
final
- verificationMethod → String
-
DID URL with fragment. The DID portion (left of
#) MUST equalholder.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited