pem_rfc7468

Function decode_label

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

Decode the encapsulation boundaries of a PEM document according to RFC 7468’s “Strict” grammar.

On success, returning the decoded label.