javax.security.auth.Destroyablepublic interface EncryptionContextProvider
extends javax.security.auth.Destroyable
| Modifier and Type | Method | Description |
|---|---|---|
ABFSKey |
getEncryptionContext(java.lang.String path) |
Fetch encryption context for a given path.
|
ABFSKey |
getEncryptionKey(java.lang.String path,
ABFSKey encryptionContext) |
Fetch encryption key in-exchange for encryption context.
|
void |
initialize(org.apache.hadoop.conf.Configuration configuration,
java.lang.String accountName,
java.lang.String fileSystem) |
Initialize instance.
|
void initialize(org.apache.hadoop.conf.Configuration configuration,
java.lang.String accountName,
java.lang.String fileSystem)
throws java.io.IOException
configuration - rawConfig instanceaccountName - Account Name (with domain)fileSystem - container namejava.io.IOException - error in initializationABFSKey getEncryptionContext(java.lang.String path) throws java.io.IOException
path - file path from filesystem rootjava.io.IOException - error in fetching encryption contextABFSKey getEncryptionKey(java.lang.String path, ABFSKey encryptionContext) throws java.io.IOException
path - file path from filesystem rootencryptionContext - encryptionContext fetched from serverjava.io.IOException - error in fetching encryption keyCopyright © 2008–2025 Apache Software Foundation. All rights reserved.