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

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

Issue 2100303002: Add OCSPVerifyResult for tracking stapled OCSP responses cross-platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ocsp-date-check
Patch Set: Extract OCSPCertStatus::Status from internal Created 4 years, 5 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
Index: net/cert/internal/parse_ocsp.h
diff --git a/net/cert/internal/parse_ocsp.h b/net/cert/internal/parse_ocsp.h
index af5541d8785b565ce9f9da3c2ffb4097bda1830d..b151f8d3cca1e0e80ce08ad3f388bac4b8b29949 100644
--- a/net/cert/internal/parse_ocsp.h
+++ b/net/cert/internal/parse_ocsp.h
@@ -12,6 +12,7 @@
#include "net/base/hash_value.h"
#include "net/cert/internal/parse_certificate.h"
#include "net/cert/internal/signature_algorithm.h"
+#include "net/cert/ocsp_revocation_status.h"
#include "net/der/input.h"
#include "net/der/parse_values.h"
#include "net/der/parser.h"
@@ -74,11 +75,6 @@ struct OCSPCertID {
// }
// (from RFC 5280)
struct OCSPCertStatus {
- enum class Status {
- GOOD,
- REVOKED,
- UNKNOWN,
- };
// Correspond to the values of CRLReason
enum class RevocationReason {
@@ -97,7 +93,7 @@ struct OCSPCertStatus {
LAST = AA_COMPROMISE,
};
- Status status;
+ OCSPRevocationStatus status;
der::GeneralizedTime revocation_time;
bool has_reason;
RevocationReason revocation_reason;

Powered by Google App Engine
This is Rietveld 408576698