Get key material
| 56 | |
| 57 | /// Get key material |
| 58 | std::string GetKeyMaterial(std::string key_id_in_file) { |
| 59 | if (key_material_map_.empty()) { |
| 60 | LoadKeyMaterialMap(); |
| 61 | } |
| 62 | auto found = key_material_map_.find(key_id_in_file); |
| 63 | if (found == key_material_map_.end()) { |
| 64 | throw ParquetException("Invalid key id"); |
| 65 | } |
| 66 | return found->second; |
| 67 | } |
| 68 | |
| 69 | /// After key material was added for all keys in the given Parquet file, |
| 70 | /// save material in persistent store. |
nothing calls this directly
no test coverage detected