Function pem_parser::pem_to_der
[−]
[src]
pub fn pem_to_der(pem_file_contents: &str) -> Vec<u8>
Parse the contents of a PEM file and return a DER-serialized byte slice.
This won't work if pem_file_contents
contains more than a single key / certificate.