org.apache.accumulo.core.security.crypto
Class CachingHDFSSecretKeyEncryptionStrategy

java.lang.Object
  extended by 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.


Constructor Summary
CachingHDFSSecretKeyEncryptionStrategy()
           
 
Method Summary
 CryptoModuleParameters decryptSecretKey(CryptoModuleParameters context)
           
 CryptoModuleParameters encryptSecretKey(CryptoModuleParameters context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingHDFSSecretKeyEncryptionStrategy

public CachingHDFSSecretKeyEncryptionStrategy()
Method Detail

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.