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

Side by Side Diff: net/base/dns_util.h

Issue 11184027: net: add DANE support for DNSSEC stapled certificates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | net/base/dnssec_chain_verifier.h » ('j') | net/base/dnssec_chain_verifier.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BASE_DNS_UTIL_H_ 5 #ifndef NET_BASE_DNS_UTIL_H_
6 #define NET_BASE_DNS_UTIL_H_ 6 #define NET_BASE_DNS_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // WARNING: if you're adding any new values here you may need to add them to 44 // WARNING: if you're adding any new values here you may need to add them to
45 // dnsrr_resolver.cc:DnsRRIsParsedByWindows. 45 // dnsrr_resolver.cc:DnsRRIsParsedByWindows.
46 static const uint16 kDNS_A = 1; 46 static const uint16 kDNS_A = 1;
47 static const uint16 kDNS_CNAME = 5; 47 static const uint16 kDNS_CNAME = 5;
48 static const uint16 kDNS_TXT = 16; 48 static const uint16 kDNS_TXT = 16;
49 static const uint16 kDNS_AAAA = 28; 49 static const uint16 kDNS_AAAA = 28;
50 static const uint16 kDNS_CERT = 37; 50 static const uint16 kDNS_CERT = 37;
51 static const uint16 kDNS_DS = 43; 51 static const uint16 kDNS_DS = 43;
52 static const uint16 kDNS_RRSIG = 46; 52 static const uint16 kDNS_RRSIG = 46;
53 static const uint16 kDNS_DNSKEY = 48; 53 static const uint16 kDNS_DNSKEY = 48;
54 static const uint16 kDNS_TLSA = 52;
54 static const uint16 kDNS_ANY = 0xff; 55 static const uint16 kDNS_ANY = 0xff;
55 static const uint16 kDNS_CAA = 257; 56 static const uint16 kDNS_CAA = 257;
56 static const uint16 kDNS_TESTING = 0xfffe; // in private use area. 57 static const uint16 kDNS_TESTING = 0xfffe; // in private use area.
57 58
58 // http://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml 59 // http://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
59 static const uint8 kDNSSEC_RSA_SHA1 = 5; 60 static const uint8 kDNSSEC_RSA_SHA1 = 5;
60 static const uint8 kDNSSEC_RSA_SHA1_NSEC3 = 7; 61 static const uint8 kDNSSEC_RSA_SHA1_NSEC3 = 7;
61 static const uint8 kDNSSEC_RSA_SHA256 = 8; 62 static const uint8 kDNSSEC_RSA_SHA256 = 8;
62 static const uint8 kDNSSEC_RSA_SHA512 = 10; 63 static const uint8 kDNSSEC_RSA_SHA512 = 10;
63 64
(...skipping 28 matching lines...) Expand all
92 unsigned len_; 93 unsigned len_;
93 const unsigned packet_len_; 94 const unsigned packet_len_;
94 95
95 DISALLOW_COPY_AND_ASSIGN(DnsResponseBuffer); 96 DISALLOW_COPY_AND_ASSIGN(DnsResponseBuffer);
96 }; 97 };
97 98
98 99
99 } // namespace net 100 } // namespace net
100 101
101 #endif // NET_BASE_DNS_UTIL_H_ 102 #endif // NET_BASE_DNS_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | net/base/dnssec_chain_verifier.h » ('j') | net/base/dnssec_chain_verifier.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698