Skip to main content

parse_ocsp_request

Function parse_ocsp_request 

pub fn parse_ocsp_request(
    der: &[u8],
) -> Result<OcspRequestInfo, Box<dyn Error + Sync + Send>>
Available on crate features crypto and std only.
Expand description

Parse a DER OCSPRequest (RFC 6960 §4.1.1).

Returns each requested CertID and the optional nonce. version, requestorName, the optional signature and per-request extensions are accepted but ignored.