diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-28 15:53:50 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-28 15:53:50 +0000 |
commit | 899c3e93acbd41bcd3c5ce5d09eddef8f45ab3ff (patch) | |
tree | 38b3e5caabeb273244b348e1bd101181aa6ce576 /net/base/cert_verify_result.h | |
parent | 40251a21ba6eea816755b1bcb9edf305c782aeda (diff) | |
download | chromium_src-899c3e93acbd41bcd3c5ce5d09eddef8f45ab3ff.zip chromium_src-899c3e93acbd41bcd3c5ce5d09eddef8f45ab3ff.tar.gz chromium_src-899c3e93acbd41bcd3c5ce5d09eddef8f45ab3ff.tar.bz2 |
https: add support for DNS exclusion and switch to TXT records.
(This code has no effect unless --enable-dnssec-certs is given.)
The existing DNSSEC code will process embeded chains in certificates
and validate CERT records there in. The format of the CERT record was
just something made up as a proof of concept. This change switches
that code to using TXT records which are at least used by some other
code.
Additionally, when --enable-dnssec-certs is given. TXT record lookups
are triggered for each HTTPS connection. If DNSSEC secure, these
lookups can validate a HTTPS certificate. Even without DNSSEC, they
can by used for exclusion: if TLS fingerprints are given, but the
certificate doesn't match any of them, then the certificate is
rejected.
The next step in this series will be to perform the TXT lookup for
some percentage of dev channel users in order to measure the latency
impact. For this experiment, all behavioural changes will be disabled.
BUG=none
TEST=net_unittests
http://codereview.chromium.org/3148037/show
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57787 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/cert_verify_result.h')
-rw-r--r-- | net/base/cert_verify_result.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/base/cert_verify_result.h b/net/base/cert_verify_result.h index b3381af..faac17a 100644 --- a/net/base/cert_verify_result.h +++ b/net/base/cert_verify_result.h @@ -23,6 +23,7 @@ class CertVerifyResult { has_md2_ca = false; } + // Bitmask of CERT_STATUS_* from net/base/cert_status_flags.h int cert_status; // Properties of the certificate chain. |