pub fn public_key_to_bytes(key: &RsaPublicKey) -> Result<Vec<u8>, CryptError>Expand description
Converts an RSA public key to DER-encoded X.509 format bytes.
This is the format sent over the network.
pub fn public_key_to_bytes(key: &RsaPublicKey) -> Result<Vec<u8>, CryptError>Converts an RSA public key to DER-encoded X.509 format bytes.
This is the format sent over the network.