Skip to main content

certificates

Function certificates 

Source
fn certificates(pem: &[u8], cert_path: &str) -> Result<Vec<Pem>, Box<dyn Error>>
Expand description

Parse every PEM certificate in pem, in file order.

ยงErrors

If the file holds no PEM certificate (e.g. it is a private key, or DER rather than PEM).