signDidOperations method
Implementation
Ssi.Signed<ByteData> signDidOperations(KeyId id, ByteData data) {
final nativeData = ByteSlice.fromBytes(data);
try {
final signedFfi = DartApi.native.morpheusPrivate
.signDidOperations(_ffi, id.ffi, nativeData.addressOf)
.extract((resp) => resp.asPointer<Void>());
return _toSsiSignedBytes(signedFfi, data);
} finally {
nativeData.dispose();
}
}