org.apache.accumulo.core.security.crypto
Class CachingHDFSSecretKeyEncryptionStrategy
java.lang.Object
org.apache.accumulo.core.security.crypto.CachingHDFSSecretKeyEncryptionStrategy
- All Implemented Interfaces:
- SecretKeyEncryptionStrategy
public class CachingHDFSSecretKeyEncryptionStrategy
- extends Object
- implements SecretKeyEncryptionStrategy
A SecretKeyEncryptionStrategy
that gets its key from HDFS and caches it for IO.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingHDFSSecretKeyEncryptionStrategy
public CachingHDFSSecretKeyEncryptionStrategy()
encryptSecretKey
public CryptoModuleParameters encryptSecretKey(CryptoModuleParameters context)
- Specified by:
encryptSecretKey
in interface SecretKeyEncryptionStrategy
decryptSecretKey
public CryptoModuleParameters decryptSecretKey(CryptoModuleParameters context)
- Specified by:
decryptSecretKey
in interface SecretKeyEncryptionStrategy
Copyright © 2015 Apache Accumulo Project. All rights reserved.