Class TimeStampException
java.lang.Object
java.lang.Throwable
java.lang.Exception
br.ufsc.labsec.signature.exceptions.PbadException
br.ufsc.labsec.signature.exceptions.SignatureAttributeException
br.ufsc.labsec.signature.exceptions.TimeStampExceptionAbstract
br.ufsc.labsec.signature.conformanceVerifier.xades.exceptions.TimeStampException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TimeStampExpiredException
public class TimeStampException extends TimeStampExceptionAbstract
Esta classe representa uma exceção que ocorre na manipulação
de carimbos de tempo.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static String
INVALID_ATTRIBUTES_IN_TIMESTAMP
static String
INVALID_TIME_STAMP
static String
MALFORMED_TIME_STAMP
static String
NOT_FOUND_TIME_STAMP
static String
PROBLEM_TO_VERIFY_ATTRIBUTES
static String
PROBLEMS_TO_VALIDATE_ATTRIBUTES_IN_TIMESTAMP
static String
VALUE_HASH_ERROR
Fields inherited from class br.ufsc.labsec.signature.exceptions.SignatureAttributeException
ATTRIBUTE_BUILDING_FAILURE, ATTRIBUTE_IS_NOT_IMPLEMENTED_YET, ATTRIBUTE_NOT_FOUND, CERT_PATH_NULL, COULD_NOT_OBTAIN_HASH, DUPLICATED_ATTRIBUTE, HASH_FAILURE, INDEX_OUT_OF_BOUNDS, INVALID_ISSUER_SERIAL, INVALID_PA_DIGEST, INVALID_PA_OID, INVALID_PA_URI, MISSING_ATTR_AUTHORITIES_CERT_VALUES, MISSING_ATTRIBUTE_REVOCATION_VALUES, MISSING_CERTIFICATE, MISSING_CERTIFICATE_VALUES, MISSING_REVOCATION_VALUES, MISSING_SIGNATURE_VALUE, MISSING_SIGNED_INFO, PROBLEMS_TO_DECODE, STRUCTURE_VIOLATION, UNKNOWN_ALGORITHM, UNRECOMENDED_ATTRIBUTE, UNSIGNED_PROPERTIES_NOT_FOUND, WRONG_ALGORITHM
Fields inherited from class br.ufsc.labsec.signature.exceptions.PbadException
INVALID_ALGORITHM, INVALID_DIGEST_ALGORITHM, INVALID_SIGNATURE, NO_SUCH_ALGORITHM
-
Constructor Summary
Constructors Constructor Description TimeStampException(String message)
ConstrutorTimeStampException(String message, Throwable cause)
ConstrutorTimeStampException(String message, Throwable cause, String identifier)
ConstrutorTimeStampException(Throwable cause)
ConstrutorTimeStampException(Throwable cause, String identifier)
ConstrutorTimeStampException(List<Exception> problems, String identifier)
Construtor -
Method Summary
Modifier and Type Method Description List<Exception>
getProblems()
Retorna a lista de erros da validaçãoMethods inherited from class br.ufsc.labsec.signature.exceptions.SignatureAttributeException
setCritical
Methods inherited from class br.ufsc.labsec.signature.exceptions.PbadException
isCritical
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
NOT_FOUND_TIME_STAMP
- See Also:
- Constant Field Values
-
INVALID_TIME_STAMP
- See Also:
- Constant Field Values
-
MALFORMED_TIME_STAMP
- See Also:
- Constant Field Values
-
VALUE_HASH_ERROR
- See Also:
- Constant Field Values
-
INVALID_ATTRIBUTES_IN_TIMESTAMP
- See Also:
- Constant Field Values
-
PROBLEMS_TO_VALIDATE_ATTRIBUTES_IN_TIMESTAMP
- See Also:
- Constant Field Values
-
PROBLEM_TO_VERIFY_ATTRIBUTES
- See Also:
- Constant Field Values
-
-
Constructor Details
-
TimeStampException
Construtor- Parameters:
message
- A mensagem de erro
-
TimeStampException
Construtor- Parameters:
cause
- A exceção que ocorreu
-
TimeStampException
Construtor- Parameters:
message
- A mensagem de errocause
- A exceção que ocorreu
-
TimeStampException
Construtor- Parameters:
cause
- A exceção que ocorreuidentifier
- O identificador do carimbo
-
TimeStampException
Construtor- Parameters:
problems
- A lista de erros da validaçãoidentifier
- O identificador do carimbo
-
TimeStampException
Construtor- Parameters:
message
- A mensagem de errocause
- A exceção que ocorreuidentifier
- O identificador do carimbo
-
-
Method Details
-
getProblems
Retorna a lista de erros da validação- Specified by:
getProblems
in classTimeStampExceptionAbstract
- Returns:
- A lista de erros da validação
-