public class FileEncryptionProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FileEncryptionProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FileEncryptionProperties.Builder |
builder(byte[] footerKey) |
boolean |
encryptedFooter() |
EncryptionAlgorithm |
getAlgorithm() |
ColumnEncryptionProperties |
getColumnProperties(ColumnPath columnPath) |
Map<ColumnPath,ColumnEncryptionProperties> |
getEncryptedColumns() |
byte[] |
getFileAAD() |
byte[] |
getFooterKey() |
byte[] |
getFooterKeyMetadata() |
public static FileEncryptionProperties.Builder builder(byte[] footerKey)
footerKey - Encryption key for file footer and some (or all) columns.
Key length must be either 16, 24 or 32 bytes.
If null, footer won't be encrypted. At least one column must be encrypted then.public EncryptionAlgorithm getAlgorithm()
public byte[] getFooterKey()
public byte[] getFooterKeyMetadata()
public Map<ColumnPath,ColumnEncryptionProperties> getEncryptedColumns()
public ColumnEncryptionProperties getColumnProperties(ColumnPath columnPath)
public byte[] getFileAAD()
public boolean encryptedFooter()
Copyright © 2023 The Apache Software Foundation. All rights reserved.