Class SpropsAlgFactory


  • public class SpropsAlgFactory
    extends Object
    Factory implementation for providing algorithm implementations.
    Author:
    antons
    • Field Detail

      • DEFAULT

        public static final int DEFAULT
        Default algorithm used by implementation (Currently SIMPLE_AES)
        See Also:
        Constant Field Values
    • Constructor Detail

      • SpropsAlgFactory

        public SpropsAlgFactory()
    • Method Detail

      • algorithm

        public static SpropsAlg algorithm​(int type)
        Maps integer value to real implementation
        Parameters:
        type - integer constant defined in this class
        Returns:
        Implementation for given constant
      • algorithm

        public static SpropsAlg algorithm()
        Provides default algorithm
        Returns:
        default algorithm