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

Side by Side 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, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | net/cert/internal/parse_ocsp.cc » ('j') | net/cert/internal/parse_ocsp.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_CERT_INTERNAL_PARSE_OCSP_H_ 5 #ifndef NET_CERT_INTERNAL_PARSE_OCSP_H_
6 #define NET_CERT_INTERNAL_PARSE_OCSP_H_ 6 #define NET_CERT_INTERNAL_PARSE_OCSP_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 // of caching or performance (RFC 6960, 4.2.2.3), the strictest response is 270 // of caching or performance (RFC 6960, 4.2.2.3), the strictest response is
271 // returned (REVOKED > UNKNOWN > GOOD). 271 // returned (REVOKED > UNKNOWN > GOOD).
272 // 272 //
273 // On failure |out| has an undefined state. Some of its fields may have been 273 // On failure |out| has an undefined state. Some of its fields may have been
274 // updated during parsing, whereas others may not have been changed. 274 // updated during parsing, whereas others may not have been changed.
275 NET_EXPORT_PRIVATE bool GetOCSPCertStatus(const OCSPResponseData& response_data, 275 NET_EXPORT_PRIVATE bool GetOCSPCertStatus(const OCSPResponseData& response_data,
276 const ParsedCertificate& issuer, 276 const ParsedCertificate& issuer,
277 const ParsedCertificate& cert, 277 const ParsedCertificate& cert,
278 OCSPCertStatus* out); 278 OCSPCertStatus* out);
279 279
280 // Verifies that the OCSP Response |response| is signed and has a valid trust
281 // 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.
282 NET_EXPORT_PRIVATE bool VerifyOCSPResponse(
283 const OCSPResponse& response,
284 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.
285
280 } // namespace net 286 } // namespace net
281 287
282 #endif // NET_CERT_INTERNAL_PARSE_OCSP_H_ 288 #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.
OLDNEW
« 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