DidDocument class

Implemented types

Constructors

DidDocument({List<String>? context, required String id, List<String>? alsoKnownAs, dynamic controller, List<VerificationMethod>? verificationMethod, List? authentication, List? keyAgreement, List<ServiceEndpoint>? service, List? assertionMethod, List? capabilityDelegation, List? capabilityInvocation})
DidDocument.fromJson(dynamic jsonObject)

Properties

alsoKnownAs List<String>?
getter/setter pair
assertionMethod List?
getter/setter pair
authentication List?
getter/setter pair
capabilityDelegation List?
getter/setter pair
capabilityInvocation List?
getter/setter pair
context List<String>?
getter/setter pair
controller ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
keyAgreement List?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service List<ServiceEndpoint>?
getter/setter pair
verificationMethod List<VerificationMethod>?
getter/setter pair

Methods

convertAllKeysToJwk() DidDocument
If keys are given as multibase-keys convert to Json web keys (this format is widely used in this package)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveKeyIds() DidDocument
Resolve all keys given by their ids to their VerificationMethod from verification method section
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
override

Operators

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