RSAPublicKey.fromPEM constructor
RSAPublicKey.fromPEM(
- String input
Implementation
factory RSAPublicKey.fromPEM(String input) {
final pem = PemPart.decodeLabelled(input, ['RSA PUBLIC KEY', 'PUBLIC KEY']);
return RSAPublicKey.fromASN1(pem.data,
fromPkcs1: pem.label == 'RSA PUBLIC KEY');
}