org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm
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
 
 
 
 
 
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
 
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
 
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:
 KettleDatabaseException - when the type could not be found or referenced.
CryptoException
 
 
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)