Package org.apache.iceberg.encryption
Interface EncryptedOutputFile
-
public interface EncryptedOutputFileThin wrapper around aOutputFilethat is encrypting bytes written to the underlying file system, via an encryption key that is symbolized by the enclosedEncryptionKeyMetadata.The
EncryptionManagerreturns instances of these when passed output files that should be encrypted as they are being written to the backing file system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputFileencryptingOutputFile()An OutputFile instance that encrypts the bytes that are written to its output streams.EncryptionKeyMetadatakeyMetadata()Metadata about the encryption key that is being used to encrypt the associatedencryptingOutputFile().
-
-
-
Method Detail
-
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().
-
-