Enum AlgorithmCipherEnum

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AlgorithmCipherEnum>

    public enum AlgorithmCipherEnum
    extends java.lang.Enum<AlgorithmCipherEnum>

    Class that represents the differents types of ciphers algorithm.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.0, 26/02/2016.
    • Method Detail

      • values

        public static AlgorithmCipherEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AlgorithmCipherEnum c : AlgorithmCipherEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AlgorithmCipherEnum valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getAlgorithm

        public java.lang.String getAlgorithm()
        Gets the value of the attribute algorithm.
        Returns:
        the value of the attribute algorithm.
      • getPaddingAlgorithm

        public java.lang.String getPaddingAlgorithm()
        Gets the value of the attribute paddingAlgorithm.
        Returns:
        the value of the attribute paddingAlgorithm.