Package org.apache.hadoop.fs.s3a.impl
Class CSEMaterials
java.lang.Object
org.apache.hadoop.fs.s3a.impl.CSEMaterials
This class is for storing information about key type and corresponding key
to be used for client side encryption.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.conf.ConfigurationgetConf()Get the CSE key type.Get the custom cryptographic class name.Get the Kms key id to use.withConf(org.apache.hadoop.conf.Configuration value) Configuration.CSE key type to use.Custom cryptographic class name to use.withKmsKeyId(String value) Kms key id to use.
-
Constructor Details
-
CSEMaterials
public CSEMaterials()
-
-
Method Details
-
withKmsKeyId
Kms key id to use.- Parameters:
value- new value- Returns:
- the builder
-
withCustomCryptographicClassName
Custom cryptographic class name to use.- Parameters:
value- cryptographic manager class name- Returns:
- the builder
-
withConf
Configuration.- Parameters:
value- configuration- Returns:
- the builder
-
getKmsKeyId
Get the Kms key id to use.- Returns:
- the kms key id.
-
getConf
public org.apache.hadoop.conf.Configuration getConf() -
getCustomKeyringClassName
Get the custom cryptographic class name.- Returns:
- custom keyring class name
-
withCSEKeyType
CSE key type to use.- Parameters:
value- new value- Returns:
- the builder
-
getCseKeyType
Get the CSE key type.- Returns:
- CSE key type
-