MCPcopy Create free account
hub / github.com/apache/impala / LookupHSKey

Method LookupHSKey

be/src/util/jwt-util.cc:722–729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

720}
721
722const JWTPublicKey* JWKSSnapshot::LookupHSKey(const std::string& kid) const {
723 auto find_it = hs_key_map_.find(kid);
724 if (find_it == hs_key_map_.end()) {
725 // Could not find key for the given key ID.
726 return nullptr;
727 }
728 return find_it->second.get();
729}
730
731const JWTPublicKey* JWKSSnapshot::LookupRSAPublicKey(const std::string& kid) const {
732 auto find_it = rsa_pub_key_map_.find(kid);

Callers 2

TESTFunction · 0.45
VerifyMethod · 0.45

Calls 3

getMethod · 0.65
findMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.36