Skip to main content

load_certs

Function load_certs 

Source
pub fn load_certs(path: &str) -> Result<Vec<CertificateDer<'static>>>
Expand description

Load certificates from a PEM file

ยงErrors

Returns an error if the file cannot be opened, the PEM cannot be parsed, or no certificates are found.