| 51 | } |
| 52 | |
| 53 | int64_t TokenVerifier::GetMaxKnownKeySequenceNumber() const { |
| 54 | shared_lock<RWMutex> l(lock_); |
| 55 | if (keys_by_seq_.empty()) { |
| 56 | return -1; |
| 57 | } |
| 58 | |
| 59 | return keys_by_seq_.rbegin()->first; |
| 60 | } |
| 61 | |
| 62 | // Import a set of public keys provided by the token signer (typically |
| 63 | // running on another node). |
no test coverage detected