pub fn decode_label(pem: &[u8]) -> Result<&str, Error>
Available on crate feature pkcs8 only.
Expand description

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

On success, returning the decoded label.