signToBase64 method

String signToBase64(
  1. RSAPrivateKey key,
  2. dynamic msg
)
override

Implementation

String signToBase64(
    RSAPrivateKey key, /* String | List<int> | BigInt */ msg) {
  final bytes = sign(key, msg);
  return base64Encode(bytes);
}