pub fn public_key_from_bytes(bytes: &[u8]) -> Result<RsaPublicKey, CryptError>Expand description
Parses an RSA public key from DER-encoded X.509 format bytes.
Equivalent to Crypt.byteToPublicKey() in Minecraft.
pub fn public_key_from_bytes(bytes: &[u8]) -> Result<RsaPublicKey, CryptError>Parses an RSA public key from DER-encoded X.509 format bytes.
Equivalent to Crypt.byteToPublicKey() in Minecraft.