Function mysql_common::crypto::der::pem_to_der
source · pub fn pem_to_der(pem: impl AsRef<[u8]>) -> (Vec<u8>, PubKeyFileType)
Expand description
Converts pem encoded RSA public key to der.
pub fn pem_to_der(pem: impl AsRef<[u8]>) -> (Vec<u8>, PubKeyFileType)
Converts pem encoded RSA public key to der.