Enum SignValidity.VALIDITY_ERROR

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SignValidity.VALIDITY_ERROR valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SignValidity.VALIDITY_ERROR[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NO_DATA

        public static final SignValidity.VALIDITY_ERROR NO_DATA
        Cuando no se puede comprobar la validez por no tener los datos firmados.
      • CORRUPTED_SIGN

        public static final SignValidity.VALIDITY_ERROR CORRUPTED_SIGN
        Cuando la informacion contenida en la firma no sea consistente (certificados corruptos, etc.).
      • NO_MATCH_DATA

        public static final SignValidity.VALIDITY_ERROR NO_MATCH_DATA
        Cuando la firma no se corresponde con los datos firmados.
      • CERTIFICATE_PROBLEM

        public static final SignValidity.VALIDITY_ERROR CERTIFICATE_PROBLEM
        Cuando no se puede extraer un certificado o este no es válido.
      • CERTIFICATE_EXPIRED

        public static final SignValidity.VALIDITY_ERROR CERTIFICATE_EXPIRED
        Cuando existe un certificado de firma caducado.
      • CERTIFICATE_NOT_VALID_YET

        public static final SignValidity.VALIDITY_ERROR CERTIFICATE_NOT_VALID_YET
        Cuando existe un certificado de firma que aun no es válido.
      • ALGORITHM_NOT_SUPPORTED

        public static final SignValidity.VALIDITY_ERROR ALGORITHM_NOT_SUPPORTED
        Cuando la firma contiene un algoritmo no reconocido o no soportado.
      • CRL_PROBLEM

        public static final SignValidity.VALIDITY_ERROR CRL_PROBLEM
        Cuando existe algún problema con las CRLs incrustadas en la firma.
      • UNKOWN_SIGNATURE_FORMAT

        public static final SignValidity.VALIDITY_ERROR UNKOWN_SIGNATURE_FORMAT
        Cuando los datos proporcionado no sean ningún tipo de firma reconocida.
      • MODIFIED_FORM

        public static final SignValidity.VALIDITY_ERROR MODIFIED_FORM
        Cuando un formualrio del documento ha sufrido alguna modificación desde la última firma.
      • MODIFIED_DOCUMENT

        public static final SignValidity.VALIDITY_ERROR MODIFIED_DOCUMENT
        Cuando el documento ha sufrido alguna modificación desde la última firma.
      • OVERLAPPING_SIGNATURE

        public static final SignValidity.VALIDITY_ERROR OVERLAPPING_SIGNATURE
        Cuando una firma está solapando a otra en un documento PDF.
      • SUSPECTED_SIGNATURE

        public static final SignValidity.VALIDITY_ERROR SUSPECTED_SIGNATURE
        El usuario debe confirmar la validez de la firma.
    • Method Detail

      • values

        public static SignValidity.VALIDITY_ERROR[] 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 (SignValidity.VALIDITY_ERROR c : SignValidity.VALIDITY_ERROR.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SignValidity.VALIDITY_ERROR 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