public class CachingHDFSSecretKeyEncryptionStrategy extends Object implements SecretKeyEncryptionStrategy
SecretKeyEncryptionStrategy
that gets its key from HDFS and caches it for IO.Constructor and Description |
---|
CachingHDFSSecretKeyEncryptionStrategy() |
Modifier and Type | Method and Description |
---|---|
CryptoModuleParameters |
decryptSecretKey(CryptoModuleParameters context) |
CryptoModuleParameters |
encryptSecretKey(CryptoModuleParameters context) |
public CachingHDFSSecretKeyEncryptionStrategy()
public CryptoModuleParameters encryptSecretKey(CryptoModuleParameters context)
encryptSecretKey
in interface SecretKeyEncryptionStrategy
public CryptoModuleParameters decryptSecretKey(CryptoModuleParameters context)
decryptSecretKey
in interface SecretKeyEncryptionStrategy
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.