Function tor_llcrypto::util::x509_extract_rsa_subject_kludge
source ยท pub fn x509_extract_rsa_subject_kludge(der: &[u8]) -> Option<PublicKey>
Expand description
Given an X.509 certificate in DER, return its SubjectPublicKey if that key is an RSA key.
WARNING: Does not validate the X.509 certificate at all!