Package org.apache.iceberg.encryption
Interface EncryptedOutputFile
- All Known Subinterfaces:
NativeEncryptionOutputFile
public interface EncryptedOutputFile
Thin wrapper around a
OutputFile that is encrypting bytes written to the underlying file
system, via an encryption key that is symbolized by the enclosed EncryptionKeyMetadata.
The EncryptionManager returns instances of these when passed output files that should
be encrypted as they are being written to the backing file system.
-
Method Summary
Modifier and TypeMethodDescriptionAn OutputFile instance that encrypts the bytes that are written to its output streams.Metadata about the encryption key that is being used to encrypt the associatedencryptingOutputFile().
-
Method Details
-
encryptingOutputFile
OutputFile encryptingOutputFile()An OutputFile instance that encrypts the bytes that are written to its output streams. -
keyMetadata
EncryptionKeyMetadata keyMetadata()Metadata about the encryption key that is being used to encrypt the associatedencryptingOutputFile().
-