pem_rfc7468

Function decode_vec

Source
pub fn decode_vec(pem: &[u8]) -> Result<(&str, Vec<u8>)>
Expand description

Decode a PEM document according to RFC 7468’s “Strict” grammar, returning the result as a Vec upon success.