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