RSAPublicKey constructor

RSAPublicKey(
  1. String pem
)

Implementation

RSAPublicKey(String pem) {
  key = KeyParser.rsaPublicKeyFromPEM(
    pem,
    pkcs1: pem.startsWith(KeyParser.BEGIN_RSA_PUBLIC_KEY),
  );
}