MCPcopy Create free account
hub / github.com/apache/arrow / StartKeyRotation

Method StartKeyRotation

cpp/src/parquet/encryption/test_in_memory_kms.cc:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void TestOnlyInServerWrapKms::StartKeyRotation(
58 const std::unordered_map<std::string, SecureString>& new_master_key_map) {
59 if (new_master_key_map.empty()) {
60 throw ParquetException("No encryption key list");
61 }
62 wrapping_master_key_map_ = new_master_key_map;
63}
64
65void TestOnlyInServerWrapKms::FinishKeyRotation() {
66 unwrapping_master_key_map_ = wrapping_master_key_map_;

Callers

nothing calls this directly

Calls 2

ParquetExceptionFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected