Class SymmetricCryptoMeta


  • public class SymmetricCryptoMeta
    extends Object
    Symmetric algorithm
    Since:
    01-4-2011
    Author:
    Samatar
    • 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.
      • getAlgorithm

        public String getAlgorithm()
      • getAlgorithmType

        public int getAlgorithmType()
      • getDefaultScheme

        public String getDefaultScheme()
      • getAlgorithmTypeFromCode

        public static int getAlgorithmTypeFromCode​(String code)