diff options
Diffstat (limited to 'net/base/dns_util.h')
| -rw-r--r-- | net/base/dns_util.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/net/base/dns_util.h b/net/base/dns_util.h index 88c48a8..78dca47 100644 --- a/net/base/dns_util.h +++ b/net/base/dns_util.h @@ -30,10 +30,21 @@ std::string TrimEndingDot(const std::string& host); // http://www.iana.org/assignments/dns-parameters static const uint16 kDNS_TXT = 16; -static const uint16 kDNS_RRSIG = 46; static const uint16 kDNS_CERT = 37; +static const uint16 kDNS_DS = 43; +static const uint16 kDNS_RRSIG = 46; +static const uint16 kDNS_DNSKEY = 48; static const uint16 kDNS_ANY = 0xff; +// http://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml +static const uint8 kDNSSEC_RSA_SHA1 = 5; +static const uint8 kDNSSEC_RSA_SHA1_NSEC3 = 7; +static const uint8 kDNSSEC_RSA_SHA256 = 8; + +// RFC 4509 +static const uint8 kDNSSEC_SHA1 = 1; +static const uint8 kDNSSEC_SHA256 = 2; + } // namespace net #endif // NET_BASE_DNS_UTIL_H_ |
