public interface DecryptionPropertiesFactory
loadFactory(Configuration).| Modifier and Type | Field and Description |
|---|---|
static String |
CRYPTO_FACTORY_CLASS_PROPERTY_NAME |
static org.slf4j.Logger |
LOG |
| Modifier and Type | Method and Description |
|---|---|
FileDecryptionProperties |
getFileDecryptionProperties(org.apache.hadoop.conf.Configuration hadoopConfig,
org.apache.hadoop.fs.Path filePath)
Get FileDecryptionProperties object which is created by the implementation of this interface.
|
static DecryptionPropertiesFactory |
loadFactory(org.apache.hadoop.conf.Configuration conf)
Load DecryptionPropertiesFactory class specified by CRYPTO_FACTORY_CLASS_PROPERTY_NAME as the path in the configuration
|
static final org.slf4j.Logger LOG
static final String CRYPTO_FACTORY_CLASS_PROPERTY_NAME
static DecryptionPropertiesFactory loadFactory(org.apache.hadoop.conf.Configuration conf)
conf - Configuration where user specifies the class pathBadConfigurationException - if the instantiation of the configured class failsFileDecryptionProperties getFileDecryptionProperties(org.apache.hadoop.conf.Configuration hadoopConfig, org.apache.hadoop.fs.Path filePath) throws ParquetCryptoRuntimeException
hadoopConfig - Configuration that is used to pass the needed information, e.g. KMS urifilePath - File path of the parquet file
Can be used for AAD prefix verification, part of key metadata etcParquetCryptoRuntimeException - if there is an exception while creating the objectCopyright © 2021 The Apache Software Foundation. All rights reserved.