public class InternalFileDecryptor extends Object
| Constructor and Description |
|---|
InternalFileDecryptor(FileDecryptionProperties fileDecryptionProperties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkFooterIntegrity() |
AesGcmEncryptor |
createSignedFooterEncryptor() |
BlockCipher.Decryptor |
fetchFooterDecryptor() |
InternalColumnDecryptionSetup |
getColumnSetup(ColumnPath path) |
FileDecryptionProperties |
getDecryptionProperties() |
byte[] |
getFileAAD() |
boolean |
plaintextFile() |
boolean |
plaintextFilesAllowed() |
InternalColumnDecryptionSetup |
setColumnCryptoMetadata(ColumnPath path,
boolean encrypted,
boolean encryptedWithFooterKey,
byte[] keyMetadata,
int columnOrdinal) |
void |
setFileCryptoMetaData(EncryptionAlgorithm algorithm,
boolean encryptedFooter,
byte[] footerKeyMetaData) |
void |
setPlaintextFile() |
public InternalFileDecryptor(FileDecryptionProperties fileDecryptionProperties)
public InternalColumnDecryptionSetup getColumnSetup(ColumnPath path)
public BlockCipher.Decryptor fetchFooterDecryptor()
public void setFileCryptoMetaData(EncryptionAlgorithm algorithm, boolean encryptedFooter, byte[] footerKeyMetaData)
public InternalColumnDecryptionSetup setColumnCryptoMetadata(ColumnPath path, boolean encrypted, boolean encryptedWithFooterKey, byte[] keyMetadata, int columnOrdinal)
public byte[] getFileAAD()
public AesGcmEncryptor createSignedFooterEncryptor()
public boolean checkFooterIntegrity()
public boolean plaintextFilesAllowed()
public void setPlaintextFile()
public boolean plaintextFile()
public FileDecryptionProperties getDecryptionProperties()
Copyright © 2023 The Apache Software Foundation. All rights reserved.