Function rustls::internal::pemfile::certs [−][src]
pub fn certs(rd: &mut dyn BufRead) -> Result<Vec<Certificate>, ()>
Extract all the certificates from rd, and return a vec of key::Certificate
s
containing the der-format contents.