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 StringINVALID_ATTRIBUTES_IN_TIMESTAMPstatic StringINVALID_TIME_STAMPstatic StringMALFORMED_TIME_STAMPstatic StringNOT_FOUND_TIME_STAMPstatic StringPROBLEM_TO_VERIFY_ATTRIBUTESstatic StringPROBLEMS_TO_VALIDATE_ATTRIBUTES_IN_TIMESTAMPstatic StringVALUE_HASH_ERRORFields 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, EMPTY_CERT_LIST, EMPTY_CERTPATH_ATTR, HASH_FAILURE, IMPORTING_NODE, 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, NEED_CERTPATH_AND_DIGEST, PROBLEMS_TO_DECODE, STRUCTURE_VIOLATION, UNKNOWN_ALGORITHM, UNKNOWN_IMPORTING_NODE, UNRECOMENDED_ATTRIBUTE, UNSIGNED_PROPERTIES_NOT_FOUND, WRONG_ALGORITHM, WRONG_SIGNERATTR_VERSIONFields 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
setCriticalMethods inherited from class br.ufsc.labsec.signature.exceptions.PbadException
isCriticalMethods 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:
getProblemsin classTimeStampExceptionAbstract- Returns:
- A lista de erros da validação
-