public class SymmetricCryptoMeta extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALGORYTHM_AES |
static String |
ALGORYTHM_DES |
static String |
ALGORYTHM_TRIPLE_DES |
static int |
TYPE_ALGORYTHM_AES |
static String[] |
TYPE_ALGORYTHM_CODE |
static int |
TYPE_ALGORYTHM_DES |
static int |
TYPE_ALGORYTHM_NONE
Indicates that the algorithm doesn't point to a type of algorithm yet.
|
static int |
TYPE_ALGORYTHM_TRIPLE_DES |
Constructor and Description |
---|
SymmetricCryptoMeta(String algorythm)
Construct a new Database Connection
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
int |
getAlgorithmType() |
static int |
getAlgorithmTypeFromCode(String code) |
String |
getDefaultScheme() |
static SymmetricCryptoInterface |
getSymmetricCryptoInterface(String cryptoname)
Search for the right type of DatabaseInterface object and clone it.
|
static SymmetricCryptoInterface[] |
getSymmetricCryptoInterfaces() |
public static final String[] TYPE_ALGORYTHM_CODE
public static final int TYPE_ALGORYTHM_NONE
public static final int TYPE_ALGORYTHM_DES
public static final int TYPE_ALGORYTHM_TRIPLE_DES
public static final int TYPE_ALGORYTHM_AES
public static final String ALGORYTHM_DES
public static final String ALGORYTHM_TRIPLE_DES
public static final String ALGORYTHM_AES
public SymmetricCryptoMeta(String algorythm) throws CryptoException
inf
- The Database Connection Info to construct the connection with.CryptoException
public static final SymmetricCryptoInterface getSymmetricCryptoInterface(String cryptoname) throws CryptoException
databaseType
- the type of DatabaseInterface to look for (description)org.pentaho.di.core.exception.KettleDatabaseException
- when the type could not be found or referenced.CryptoException
public static final SymmetricCryptoInterface[] getSymmetricCryptoInterfaces()
public String getAlgorithm()
public int getAlgorithmType()
public String getDefaultScheme()
public static int getAlgorithmTypeFromCode(String code)