[go: up one dir, main page]

ureq::tls

Function parse_pem

Source
pub fn parse_pem(
    pem: &[u8],
) -> impl Iterator<Item = Result<PemItem<'static>, Error>> + '_
Expand description

Parser of PEM data.

The data may contain one or many PEM items. The iterator produces the recognized PEM items and skip others.