Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: net/cert/internal/parse_ocsp.h

Issue 1849773002: Adding OCSP Verification Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing includes. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/cert/internal/parse_ocsp.cc » ('j') | net/cert/internal/parse_ocsp.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/parse_ocsp.h
diff --git a/net/cert/internal/parse_ocsp.h b/net/cert/internal/parse_ocsp.h
index 63ee3e8e2a5d01d47b03aab7f81be2f1c577943f..7153ff0d494823b68233f721be28ec4721964b15 100644
--- a/net/cert/internal/parse_ocsp.h
+++ b/net/cert/internal/parse_ocsp.h
@@ -277,6 +277,12 @@ NET_EXPORT_PRIVATE bool GetOCSPCertStatus(const OCSPResponseData& response_data,
const ParsedCertificate& cert,
OCSPCertStatus* out);
+// Verifies that the OCSP Response |response| is signed and has a valid trust
+// path to the issuer |issuer_cert|.
eroman 2016/05/02 22:36:51 Expand the documentation to reference the RFC that
svaldez 2016/05/04 15:31:20 Done.
+NET_EXPORT_PRIVATE bool VerifyOCSPResponse(
+ const OCSPResponse& response,
+ const ParsedCertificate& issuer_cert);
eroman 2016/05/02 22:36:51 Please mark this as WARN_UNUSED_RESULT. In fact I
svaldez 2016/05/04 15:31:20 Done.
+
} // namespace net
#endif // NET_CERT_INTERNAL_PARSE_OCSP_H_
eroman 2016/05/02 22:36:51 parse_ocsp.h isn't the best name for this file giv
svaldez 2016/05/04 15:31:20 Done.
« no previous file with comments | « no previous file | net/cert/internal/parse_ocsp.cc » ('j') | net/cert/internal/parse_ocsp.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698