| 44 | constexpr const char KeyMaterial::kWrappedKeyEncryptionKeyField[]; |
| 45 | |
| 46 | KeyMaterial::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 | |
| 61 | KeyMaterial KeyMaterial::Parse(const std::string& key_material_string) { |
| 62 | JsonObjectParser json_parser; |
nothing calls this directly
no outgoing calls
no test coverage detected