org.apache.accumulo.core.security.crypto
Class CryptoModuleFactory
java.lang.Object
org.apache.accumulo.core.security.crypto.CryptoModuleFactory
public class CryptoModuleFactory
- extends Object
This factory module exists to assist other classes in loading crypto modules.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CryptoModuleFactory
public CryptoModuleFactory()
getCryptoModule
public static CryptoModule getCryptoModule(AccumuloConfiguration conf)
- This method returns a crypto module based on settings in the given configuration parameter.
- Returns:
- a class implementing the CryptoModule interface. It will *never* return null; rather, it will return a class which obeys the interface but makes no
changes to the underlying data.
getCryptoModule
public static CryptoModule getCryptoModule(String cryptoModuleClassname)
getSecretKeyEncryptionStrategy
public static SecretKeyEncryptionStrategy getSecretKeyEncryptionStrategy(AccumuloConfiguration conf)
getSecretKeyEncryptionStrategy
public static SecretKeyEncryptionStrategy getSecretKeyEncryptionStrategy(String className)
parseCipherTransform
public static String[] parseCipherTransform(String cipherTransform)
createParamsObjectFromAccumuloConfiguration
public static CryptoModuleParameters createParamsObjectFromAccumuloConfiguration(AccumuloConfiguration conf)
fillParamsObjectFromConfiguration
public static CryptoModuleParameters fillParamsObjectFromConfiguration(CryptoModuleParameters params,
AccumuloConfiguration conf)
fillParamsObjectFromStringMap
public static CryptoModuleParameters fillParamsObjectFromStringMap(CryptoModuleParameters params,
Map<String,String> cryptoOpts)
Copyright © 2015 Apache Accumulo Project. All rights reserved.