signEcdsa method
Implementation
SecpSignature signEcdsa(ByteData data) {
final nativeData = ByteSlice.fromBytes(data);
try {
final ffiSig =
DartApi.native.secpPrivateKey.signEcdsa(_ffi, nativeData.addressOf);
return SecpSignature(ffiSig, true);
} finally {
nativeData.dispose();
}
}