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

Method encryptSensitiveProperties

encrypt-config/EncryptConfig.cpp:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51EncryptConfig::EncryptionType EncryptConfig::encryptSensitiveProperties() const {
52 encryptSensitiveProperties(keys_);
53 if (keys_.old_key) {
54 return EncryptionType::RE_ENCRYPT;
55 }
56 return EncryptionType::ENCRYPT;
57}
58
59void EncryptConfig::encryptFlowConfig() const {
60 encrypt_config::ConfigFile properties_file{std::ifstream{propertiesFilePath()}};

Callers 1

mainFunction · 0.80

Calls 3

writeToMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected