Class CachingHDFSSecretKeyEncryptionStrategy
- java.lang.Object
-
- org.apache.accumulo.core.security.crypto.CachingHDFSSecretKeyEncryptionStrategy
-
- All Implemented Interfaces:
SecretKeyEncryptionStrategy
public class CachingHDFSSecretKeyEncryptionStrategy extends Object implements SecretKeyEncryptionStrategy
ASecretKeyEncryptionStrategy
that gets its key from HDFS and caches it for IO.
-
-
Constructor Summary
Constructors Constructor Description CachingHDFSSecretKeyEncryptionStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CryptoModuleParameters
decryptSecretKey(CryptoModuleParameters context)
CryptoModuleParameters
encryptSecretKey(CryptoModuleParameters context)
-
-
-
Method Detail
-
encryptSecretKey
public CryptoModuleParameters encryptSecretKey(CryptoModuleParameters context)
- Specified by:
encryptSecretKey
in interfaceSecretKeyEncryptionStrategy
-
decryptSecretKey
public CryptoModuleParameters decryptSecretKey(CryptoModuleParameters context)
- Specified by:
decryptSecretKey
in interfaceSecretKeyEncryptionStrategy
-
-