signDataBytesToString static method
String
signDataBytesToString(
- Uint8List message,
- String privateKey,
- String passphrase, {
- KeyOptions? options,
Implementation
static String signDataBytesToString(
Uint8List message, String privateKey, String passphrase,
{KeyOptions? options}) {
var requestBuilder = model.SignDataBytesRequestObjectBuilder(
message: message,
passphrase: passphrase,
privateKey: privateKey,
options: OpenPGPRequestBuilders.keyOptionsBuilder(options),
);
return OpenPGPResponseHandlers.stringResponse(OpenPGPBridge.callSync(
"signDataBytesToString", requestBuilder.toBytes()));
}