Home
last modified time | relevance | path

Searched refs:dnskey (Results 1 – 4 of 4) sorted by relevance

/external/chromium/net/base/
Ddnssec_keyset.cc39 bool DNSSECKeySet::AddKey(const base::StringPiece& dnskey) { in AddKey() argument
40 uint16 keyid = DNSKEYToKeyID(dnskey); in AddKey()
41 std::string der_encoded = ASN1WrapDNSKEY(dnskey); in AddKey()
169 uint16 DNSSECKeySet::DNSKEYToKeyID(const base::StringPiece& dnskey) { in DNSKEYToKeyID() argument
171 reinterpret_cast<const unsigned char*>(dnskey.data()); in DNSKEYToKeyID()
175 for (unsigned i = 0; i < dnskey.size(); i++) { in DNSKEYToKeyID()
323 std::string DNSSECKeySet::ASN1WrapDNSKEY(const base::StringPiece& dnskey) { in ASN1WrapDNSKEY() argument
325 reinterpret_cast<const unsigned char*>(dnskey.data()); in ASN1WrapDNSKEY()
327 if (dnskey.size() < 5 || dnskey.size() > 32767) in ASN1WrapDNSKEY()
340 if (dnskey.size() < 7) in ASN1WrapDNSKEY()
[all …]
Ddnssec_keyset.h24 bool AddKey(const base::StringPiece& dnskey);
40 static uint16 DNSKEYToKeyID(const base::StringPiece& dnskey);
53 std::string ASN1WrapDNSKEY(const base::StringPiece& dnskey);
Ddnssec_chain_verifier.h81 const base::StringPiece& dnskey,
Ddnssec_chain_verifier.cc514 const base::StringPiece& dnskey, in DigestKey() argument
523 std::string input = name.as_string() + dnskey.as_string(); in DigestKey()