Searched refs:dnskey (Results 1 – 4 of 4) sorted by relevance
39 bool DNSSECKeySet::AddKey(const base::StringPiece& dnskey) { in AddKey() argument40 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() argument171 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() argument325 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 …]
24 bool AddKey(const base::StringPiece& dnskey);40 static uint16 DNSKEYToKeyID(const base::StringPiece& dnskey);53 std::string ASN1WrapDNSKEY(const base::StringPiece& dnskey);
81 const base::StringPiece& dnskey,
514 const base::StringPiece& dnskey, in DigestKey() argument523 std::string input = name.as_string() + dnskey.as_string(); in DigestKey()