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