OLD | NEW |
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_OCSP_VERIFY_RESULT_H | 5 #ifndef NET_CERT_OCSP_VERIFY_RESULT_H_ |
6 #define NET_CERT_OCSP_VERIFY_RESULT_H | 6 #define NET_CERT_OCSP_VERIFY_RESULT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
11 #include "net/cert/ocsp_revocation_status.h" | 11 #include "net/cert/ocsp_revocation_status.h" |
12 | 12 |
13 namespace net { | 13 namespace net { |
14 | 14 |
15 // The result of OCSP verification. This always contains a ResponseStatus, which | 15 // The result of OCSP verification. This always contains a ResponseStatus, which |
16 // describes whether or not an OCSP response was provided, and response level | 16 // describes whether or not an OCSP response was provided, and response level |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 ResponseStatus response_status = MISSING; | 59 ResponseStatus response_status = MISSING; |
60 | 60 |
61 // The strictest CertStatus matching the certificate (REVOKED > UNKNOWN > | 61 // The strictest CertStatus matching the certificate (REVOKED > UNKNOWN > |
62 // GOOD). Only valid if |response_status| = PROVIDED. | 62 // GOOD). Only valid if |response_status| = PROVIDED. |
63 OCSPRevocationStatus revocation_status = OCSPRevocationStatus::UNKNOWN; | 63 OCSPRevocationStatus revocation_status = OCSPRevocationStatus::UNKNOWN; |
64 }; | 64 }; |
65 | 65 |
66 } // namespace net | 66 } // namespace net |
67 | 67 |
68 #endif // NET_CERT_OCSP_VERIFY_RESULT_H | 68 #endif // NET_CERT_OCSP_VERIFY_RESULT_H_ |
OLD | NEW |