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

Method LookupECPublicKey

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

Source from the content-addressed store, hash-verified

738}
739
740const JWTPublicKey* JWKSSnapshot::LookupECPublicKey(const std::string& kid) const {
741 auto find_it = ec_pub_key_map_.find(kid);
742 if (find_it == ec_pub_key_map_.end()) {
743 // Could not find key for the given key ID.
744 return nullptr;
745 }
746 return find_it->second.get();
747}
748
749//
750// JWKSMgr member functions.

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