Package org.apache.iceberg.encryption
Interface EncryptedInputFile
- All Known Subinterfaces:
NativeEncryptionInputFile
public interface EncryptedInputFile
Thin wrapper around an
InputFile
instance that is encrypted.
The EncryptionManager
takes instances of these and uses the attached keyMetadata()
to find an encryption key and decrypt the enclosed encryptedInputFile()
.
-
Method Summary
Modifier and TypeMethodDescriptionTheInputFile
that is reading raw encrypted bytes from the underlying file system.Metadata pointing to some encryption key that would be used to decrypt the input file provided byencryptedInputFile()
.
-
Method Details
-
encryptedInputFile
InputFile encryptedInputFile()TheInputFile
that is reading raw encrypted bytes from the underlying file system. -
keyMetadata
EncryptionKeyMetadata keyMetadata()Metadata pointing to some encryption key that would be used to decrypt the input file provided byencryptedInputFile()
.
-