org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm
Class SymmetricCryptoMeta

java.lang.Object
  extended by org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta

public class SymmetricCryptoMeta
extends Object

Symmetric algorithm

Since:
01-4-2011
Author:
Samatar

Field Summary
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 Summary
SymmetricCryptoMeta(String algorythm)
          Construct a new Database Connection
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
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)