Function parse_pem

Source
pub fn parse_pem(certificate: &[u8]) -> Result<Pem, CertificateError>
Expand description

parse a pem file encoded as binary and convert it into the right structure (a.k.a Pem)