validate_label

Function validate_label 

Source
pub(crate) fn validate_label(label: &[u8]) -> Result<()>
Expand description

Validate that the given bytes are allowed as a PEM type label, i.e. the label encoded in the BEGIN and END encapsulation boundaries.