fromPem static method
Parses a PEM string into a public key.
Throws if pem is not a single PUBLIC KEY block holding such a DER key.
The block starts at the first byte, uses strict base64 and ends all its
lines in LF or all in CRLF.
Implementation
static PublicKey fromPem(String pem) =>
PublicKey._(ffi.RsaPublicKey.fromPem(pem: pem));