Function ed25519_dalek::pkcs8::spki::der::pem::decode_vec
pub fn decode_vec(pem: &[u8]) -> Result<(&str, Vec<u8>), Error>
Available on crate features
pkcs8
and alloc
only.Expand description
Decode a PEM document according to RFC 7468’s “Strict” grammar, returning
the result as a Vec
upon success.