Skip to main content

public_key_from_pem

Function public_key_from_pem 

Source
pub fn public_key_from_pem(pem: &str) -> Result<RsaPublicKey, CryptError>
Expand description

Parses an RSA public key from PEM format string.

Equivalent to Crypt.stringToRsaPublicKey() in Minecraft.