JsonWebSignature2020Signer class

Implemented types

Constructors

JsonWebSignature2020Signer(dynamic loadDocument(Uri url, LoadDocumentOptions? options)?)

Properties

algValue String
no setteroverride
crvValue String
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
loadDocument → (dynamic Function(Uri url, LoadDocumentOptions? options)?)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeName String
final

Methods

buildProof(dynamic data, WalletStore wallet, String did, {String? challenge, String? domain, String? proofPurpose}) FutureOr<Map<String, dynamic>>
Build a LinkedDataProof / DataIntegrityProof
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign({dynamic data, WalletStore? wallet, String? did, Map<String, dynamic>? jwk, bool detached = false, dynamic jwsHeader}) FutureOr<String>
Build a (detached) JWS
override
toString() String
A string representation of this object.
inherited
verify(String jws, {String? did, Map<String, dynamic>? jwk, dynamic data}) FutureOr<bool>
Verifies a (detached) JWS
override
verifyProof(dynamic proof, dynamic data, String did, {String? challenge, Map<String, dynamic>? jwk, Future<DidDocument> didResolver(String) = resolveDidDocument}) FutureOr<bool>
Verifies a LinkedDataProof / DataIntegrityProof
override

Operators

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