Skip to main content

ocsp_response_next_update

Function ocsp_response_next_update 

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

The earliest nextUpdate of a DER OCSPResponse (RFC 6960 §4.2.1).

A response must not be relied upon after this instant, so a staple should be replaced by then. None when the response is not a successful basic response or carries no nextUpdate.