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

Method InternalFileDecryptor

cpp/src/parquet/encryption/internal_file_decryptor.cc:58–66  ·  view source on GitHub ↗

InternalFileDecryptor

Source from the content-addressed store, hash-verified

56
57// InternalFileDecryptor
58InternalFileDecryptor::InternalFileDecryptor(
59 std::shared_ptr<FileDecryptionProperties> properties, const std::string& file_aad,
60 ParquetCipher::type algorithm, const std::string& footer_key_metadata,
61 ::arrow::MemoryPool* pool)
62 : properties_(std::move(properties)),
63 file_aad_(file_aad),
64 algorithm_(algorithm),
65 footer_key_metadata_(footer_key_metadata),
66 pool_(pool) {}
67
68const SecureString& InternalFileDecryptor::GetFooterKey() {
69 std::unique_lock lock(mutex_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected