Package org.apache.iceberg.encryption
Interface EncryptedInputFile
-
public interface EncryptedInputFile
Thin wrapper around anInputFile
instance that is encrypted.The
EncryptionManager
takes instances of these and uses the attachedkeyMetadata()
to find an encryption key and decrypt the enclosedencryptedInputFile()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputFile
encryptedInputFile()
TheInputFile
that is reading raw encrypted bytes from the underlying file system.EncryptionKeyMetadata
keyMetadata()
Metadata pointing to some encryption key that would be used to decrypt the input file provided byencryptedInputFile()
.
-
-
-
Method Detail
-
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()
.
-
-