MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / isEncrypted

Function isEncrypted

encrypt-config/ConfigFileEncryptor.cpp:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29namespace encrypt_config {
30
31bool isEncrypted(const utils::optional<std::string>& encryption_type) {
32 return encryption_type && !encryption_type->empty() && *encryption_type != "plaintext";
33}
34
35uint32_t encryptSensitivePropertiesInFile(ConfigFile& config_file, const utils::crypto::Bytes & encryption_key) {
36 return encryptSensitivePropertiesInFile(config_file, EncryptionKeys{{}, encryption_key});

Callers 2

encryptFlowConfigMethod · 0.70

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected