Signer class abstract

Implementers

Constructors

Signer()

Properties

algValue String
final
crvValue String
final
hashCode int
The hash code for this object.
no setterinherited
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
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
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
verifyProof(dynamic proof, dynamic data, String did, {String? challenge, Map<String, dynamic>? jwk, Future<DidDocument> didResolver(String)}) FutureOr<bool>
Verifies a LinkedDataProof / DataIntegrityProof

Operators

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