Function yasna::parse_ber_general

source ยท
pub fn parse_ber_general<'a, T, F>(
    buf: &'a [u8],
    mode: BERMode,
    callback: F,
) -> ASN1Result<T>
where F: for<'b> FnOnce(BERReader<'a, 'b>) -> ASN1Result<T>,
Expand description

Parses DER/BER-encoded data.

parse_ber and parse_der are shorthands for this function.