Function hyper_static_server::rustls_pemfile::certs[]

pub fn certs(
    rd: &mut dyn BufRead
) -> Result<Vec<Vec<u8, Global>, Global>, Error>

Extract all the certificates from rd, and return a vec of byte vecs containing the der-format contents.

This function does not fail if there are no certificates in the file -- it returns an empty vector.