rsaPrivateKeyFromPemPkcs1 static method

RSAPrivateKey rsaPrivateKeyFromPemPkcs1(
  1. String pem
)

Decode a RSAPrivateKey from the given pem string formated in the pkcs1 standard.

Implementation

static RSAPrivateKey rsaPrivateKeyFromPemPkcs1(String pem) {
  var bytes = getBytesFromPEMString(pem);
  return rsaPrivateKeyFromDERBytesPkcs1(bytes);
}