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

Method KeyMaterial

cpp/src/parquet/encryption/key_material.cc:46–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44constexpr const char KeyMaterial::kWrappedKeyEncryptionKeyField[];
45
46KeyMaterial::KeyMaterial(bool is_footer_key, const std::string& kms_instance_id,
47 const std::string& kms_instance_url,
48 const std::string& master_key_id, bool is_double_wrapped,
49 const std::string& kek_id,
50 const std::string& encoded_wrapped_kek,
51 const std::string& encoded_wrapped_dek)
52 : is_footer_key_(is_footer_key),
53 kms_instance_id_(kms_instance_id),
54 kms_instance_url_(kms_instance_url),
55 master_key_id_(master_key_id),
56 is_double_wrapped_(is_double_wrapped),
57 kek_id_(kek_id),
58 encoded_wrapped_kek_(encoded_wrapped_kek),
59 encoded_wrapped_dek_(encoded_wrapped_dek) {}
60
61KeyMaterial KeyMaterial::Parse(const std::string& key_material_string) {
62 JsonObjectParser json_parser;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected