| 28 | namespace minifi { |
| 29 | |
| 30 | bool Configure::get(const std::string& key, std::string& value) const { |
| 31 | bool found = getString(key, value); |
| 32 | if (decryptor_ && found && isEncrypted(key)) { |
| 33 | value = decryptor_->decrypt(value); |
| 34 | } |
| 35 | return found; |
| 36 | } |
| 37 | |
| 38 | bool Configure::get(const std::string& key, const std::string& alternate_key, std::string& value) const { |
| 39 | if (get(key, value)) { |