ParseResponse parses an OCSP response in DER form. It only supports responses for a single certificate. If the response contains a certificate then the signature over the response is checked. If issuer is not nil then it will be used to validate the signature or embedded certificate.

Invalid signatures or parse failures will result in a ParseError. Error responses will result in a ResponseError.

ParseResponse is referenced in 1 repository