| 212 | } |
| 213 | |
| 214 | ColumnDecryptionProperties::ColumnDecryptionProperties(std::string column_path, |
| 215 | SecureString key) |
| 216 | : column_path_(std::move(column_path)), key_(std::move(key)) { |
| 217 | DCHECK(!column_path_.empty()); |
| 218 | |
| 219 | if (!key_.empty()) { |
| 220 | DCHECK(key_.length() == 16 || key_.length() == 24 || key_.length() == 32); |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | const SecureString& FileDecryptionProperties::column_key( |
| 225 | const std::string& column_path) const { |