pub fn public_key_to_pem(key: &RsaPublicKey) -> Result<String, CryptError>Expand description
Converts an RSA public key to PEM format string.
Format: “—–BEGIN RSA PUBLIC KEY—–\n{base64}\n—–END RSA PUBLIC KEY—–\n”
pub fn public_key_to_pem(key: &RsaPublicKey) -> Result<String, CryptError>Converts an RSA public key to PEM format string.
Format: “—–BEGIN RSA PUBLIC KEY—–\n{base64}\n—–END RSA PUBLIC KEY—–\n”