Package org.apache.iceberg.encryption
Class EncryptedFiles
java.lang.Object
org.apache.iceberg.encryption.EncryptedFiles
-
Method Summary
Modifier and TypeMethodDescriptionstatic EncryptedInputFile
encryptedInput
(InputFile encryptedInputFile, byte[] keyMetadata) static EncryptedInputFile
encryptedInput
(InputFile encryptedInputFile, ByteBuffer keyMetadata) static EncryptedInputFile
encryptedInput
(InputFile encryptedInputFile, EncryptionKeyMetadata keyMetadata) static EncryptedOutputFile
encryptedOutput
(OutputFile encryptedOutputFile, byte[] keyMetadata) static EncryptedOutputFile
encryptedOutput
(OutputFile encryptingOutputFile, ByteBuffer keyMetadata) static EncryptedOutputFile
encryptedOutput
(OutputFile encryptingOutputFile, EncryptionKeyMetadata keyMetadata) static EncryptedOutputFile
plainAsEncryptedOutput
(OutputFile encryptingOutputFile)
-
Method Details
-
encryptedInput
public static EncryptedInputFile encryptedInput(InputFile encryptedInputFile, EncryptionKeyMetadata keyMetadata) -
encryptedInput
public static EncryptedInputFile encryptedInput(InputFile encryptedInputFile, ByteBuffer keyMetadata) -
encryptedInput
-
encryptedOutput
public static EncryptedOutputFile encryptedOutput(OutputFile encryptingOutputFile, EncryptionKeyMetadata keyMetadata) -
encryptedOutput
public static EncryptedOutputFile encryptedOutput(OutputFile encryptingOutputFile, ByteBuffer keyMetadata) -
encryptedOutput
public static EncryptedOutputFile encryptedOutput(OutputFile encryptedOutputFile, byte[] keyMetadata) -
plainAsEncryptedOutput
-