rsaPrivateKeyFromPem static method

RSAPrivateKey rsaPrivateKeyFromPem(
  1. String pem
)

Decode a RSAPrivateKey from the given pem String.

Implementation

static RSAPrivateKey rsaPrivateKeyFromPem(String pem) {
  final Uint8List bytes = getBytesFromPEMString(pem);
  return rsaPrivateKeyFromDERBytes(bytes);
}