Enum FileFormat

java.lang.Object
java.lang.Enum<FileFormat>
br.ufsc.labsec.signature.signer.FileFormat
All Implemented Interfaces:
Serializable, Comparable<FileFormat>, Constable

public enum FileFormat
extends Enum<FileFormat>
Enumera os modos de assinatura possíveis
  • Enum Constant Details

    • ATTACHED

      public static final FileFormat ATTACHED
    • DETACHED

      public static final FileFormat DETACHED
    • ENVELOPED

      public static final FileFormat ENVELOPED
    • INTERNALLY_DETACHED

      public static final FileFormat INTERNALLY_DETACHED
  • Method Details

    • values

      public static FileFormat[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FileFormat valueOf​(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Retorna o modo de assinatura selecionado
      Overrides:
      toString in class Enum<FileFormat>
      Returns:
      Modo de assinatura selecionado