x509_parser::pem
pub fn pem_to_der<'a>(i: &'a [u8]) -> IResult<&'a [u8], Pem, PEMError>
Read a PEM-encoded structure, and decode the base64 data
Allocates a new buffer for the decoded data.