Class SymmetricCryptoMeta
- java.lang.Object
-
- org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta
-
public class SymmetricCryptoMeta extends Object
Symmetric algorithm- Since:
- 01-4-2011
- Author:
- Samatar
-
-
Field Summary
Fields Modifier and Type Field Description static StringALGORYTHM_AESstatic StringALGORYTHM_DESstatic StringALGORYTHM_TRIPLE_DESstatic intTYPE_ALGORYTHM_AESstatic String[]TYPE_ALGORYTHM_CODEstatic intTYPE_ALGORYTHM_DESstatic intTYPE_ALGORYTHM_NONEIndicates that the algorithm doesn't point to a type of algorithm yet.static intTYPE_ALGORYTHM_TRIPLE_DES
-
Constructor Summary
Constructors Constructor Description SymmetricCryptoMeta(String algorythm)Construct a new Database Connection
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()intgetAlgorithmType()static intgetAlgorithmTypeFromCode(String code)StringgetDefaultScheme()static SymmetricCryptoInterfacegetSymmetricCryptoInterface(String cryptoname)Search for the right type of DatabaseInterface object and clone it.static SymmetricCryptoInterface[]getSymmetricCryptoInterfaces()
-
-
-
Field Detail
-
TYPE_ALGORYTHM_CODE
public static final String[] TYPE_ALGORYTHM_CODE
-
TYPE_ALGORYTHM_NONE
public static final int TYPE_ALGORYTHM_NONE
Indicates that the algorithm doesn't point to a type of algorithm yet.- See Also:
- Constant Field Values
-
TYPE_ALGORYTHM_DES
public static final int TYPE_ALGORYTHM_DES
- See Also:
- Constant Field Values
-
TYPE_ALGORYTHM_TRIPLE_DES
public static final int TYPE_ALGORYTHM_TRIPLE_DES
- See Also:
- Constant Field Values
-
TYPE_ALGORYTHM_AES
public static final int TYPE_ALGORYTHM_AES
- See Also:
- Constant Field Values
-
ALGORYTHM_DES
public static final String ALGORYTHM_DES
- See Also:
- Constant Field Values
-
ALGORYTHM_TRIPLE_DES
public static final String ALGORYTHM_TRIPLE_DES
- See Also:
- Constant Field Values
-
ALGORYTHM_AES
public static final String ALGORYTHM_AES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SymmetricCryptoMeta
public SymmetricCryptoMeta(String algorythm) throws CryptoException
Construct a new Database Connection- Parameters:
inf- The Database Connection Info to construct the connection with.- Throws:
CryptoException
-
-
Method Detail
-
getSymmetricCryptoInterface
public static final SymmetricCryptoInterface getSymmetricCryptoInterface(String cryptoname) throws CryptoException
Search for the right type of DatabaseInterface object and clone it.- Parameters:
databaseType- the type of DatabaseInterface to look for (description)- Returns:
- The requested DatabaseInterface
- Throws:
CryptoException- when the type could not be found or referenced.
-
getSymmetricCryptoInterfaces
public static final SymmetricCryptoInterface[] getSymmetricCryptoInterfaces()
-
getAlgorithm
public String getAlgorithm()
-
getAlgorithmType
public int getAlgorithmType()
-
getDefaultScheme
public String getDefaultScheme()
-
getAlgorithmTypeFromCode
public static int getAlgorithmTypeFromCode(String code)
-
-