Return true iff the check should be skipped or the secret matches 'other'. All validation should be done via this function to avoid subtle errors.
| 1376 | /// Return true iff the check should be skipped or the secret matches 'other'. |
| 1377 | /// All validation should be done via this function to avoid subtle errors. |
| 1378 | bool Validate(const TUniqueId& other) const { |
| 1379 | return skip_validation_ || ConstantTimeCompare(other) == 0; |
| 1380 | } |
| 1381 | |
| 1382 | bool is_session_secret() const { return is_session_secret_; } |
| 1383 | TUniqueId query_id() const { |
no outgoing calls
no test coverage detected