* Check whether the given key is contains in these authorized keys. * @param key The key to look for. * @return \c true when the key has been found, otherwise \c false. */
| 178 | * @return \c true when the key has been found, otherwise \c false. |
| 179 | */ |
| 180 | bool NetworkAuthorizedKeys::Contains(std::string_view key) const |
| 181 | { |
| 182 | return FindKey(this, key) != this->end(); |
| 183 | } |
| 184 | |
| 185 | /** |
| 186 | * Add the given key to the authorized keys, when it is not already contained. |
no test coverage detected