sign method
FutureOr<String>
sign({
- dynamic data,
- WalletStore? wallet,
- String? did,
- Map<
String, dynamic> ? jwk, - bool detached = false,
- dynamic jwsHeader,
override
Build a (detached) JWS
Either using a combination of wallet
and did
or by using a private JsonWebKey jwk
.
Implementation
@override
FutureOr<String> sign(
{data,
WalletStore? wallet,
String? did,
Map<String, dynamic>? jwk,
bool detached = false,
jwsHeader}) {
// TODO: implement sign
throw UnimplementedError();
}