Perform OCSP response validation according to RFC + 6960. Returns 'ok' when OCSP response is successfully + validated and {error, {bad_cert, Reason}} otherwise.
+ +Available options:
+The fun has the following type specification:
+ fun(#cert{}) ->
+ boolean()
+ The fun returns the
fun(_) -> false end
+ If
When map is used, boolean ocsp_nonce key may indicate if
+ OCSP nonce should be requested by the client (default is
+