sign method
Implementation
SignedBundle sign(PrivateKey privateKey) {
final signed = DartApi.native.coeusNoncedBundle
.sign(_ffi, privateKey.ffi)
.extract((res) => res.asPointer<Void>());
return SignedBundle(signed, true);
}
SignedBundle sign(PrivateKey privateKey) {
final signed = DartApi.native.coeusNoncedBundle
.sign(_ffi, privateKey.ffi)
.extract((res) => res.asPointer<Void>());
return SignedBundle(signed, true);
}