Class SignerCertificationPathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
br.ufsc.labsec.signature.exceptions.PbadException
br.ufsc.labsec.signature.conformanceVerifier.validationService.exceptions.CertificationPathException
br.ufsc.labsec.signature.conformanceVerifier.validationService.exceptions.SignerCertificationPathException
- All Implemented Interfaces:
Serializable
public class SignerCertificationPathException extends CertificationPathException
Esta classe representa uma exceção causada por algum problema
no caminho de certificação do certificado do assinante.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static StringPROBLEM_TO_OBTAIN_SIGNINGCERTIFICATEstatic StringPROBLEM_TO_SELECT_SIGNING_CERTIFICATE_ON_CERTSTOREstatic StringPROBLEM_WHEN_BUILDING_THE_CERTPATHFields inherited from class br.ufsc.labsec.signature.conformanceVerifier.validationService.exceptions.CertificationPathException
ALGORITHM_CONSTRAINED, CERT_PATH_NOT_FOUND, CERTIFICATE_NOT_VALID_YET, CERTIFICATE_OUT_OF_BOUNDS, CRL_EXPIRED, CRL_NOT_FOUND, CRL_NOT_YET_VALID, CRL_REVOKED, ERROR_WHEN_SELECTING_CRL_IN_THE_CERTSTORE, EXPIRED_CERTIFICATE, INVALID_ALGORITHM_PARAMS_OR_ALGORITHM, INVALID_CERTIFICATE_SIGNATURE, INVALID_KEY_USAGE, INVALID_NAME, INVALID_POLICY, INVALID_SIGNATURE, MISMATCH_POLICY_TRUSTED_ANCHORS, NAME_CHAINING, NO_SIGNING_CERTIFICATE_FOUND, NO_SUCH_ALGORITHM, NO_SUCH_PROVIDER, NO_TRUST_ANCHOR, NOT_CA_CERT, PATH_TOO_LONG, PROBLEM_TO_VALIDATE_CERTPATH, REVOKED_CERTIFICATE, UNDETERMINED_REVOCATION_STATUS, UNKNOWN_CERT_PATH_VALIDATION, UNRECOGNIZED_CRIT_EXT, UNSPECIFIEDFields inherited from class br.ufsc.labsec.signature.exceptions.PbadException
INVALID_ALGORITHM, INVALID_DIGEST_ALGORITHM -
Constructor Summary
Constructors Constructor Description SignerCertificationPathException(String message)ConstrutorSignerCertificationPathException(String message, int certificateIndex)ConstrutorSignerCertificationPathException(String message, Throwable cause)ConstrutorSignerCertificationPathException(Throwable cause)Construtor -
Method Summary
Modifier and Type Method Description intgetCertificateIndex()Retorna o índice do certificadoMethods inherited from class br.ufsc.labsec.signature.conformanceVerifier.validationService.exceptions.CertificationPathException
getCertPathMethods inherited from class br.ufsc.labsec.signature.exceptions.PbadException
isCritical, setCriticalMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
PROBLEM_TO_SELECT_SIGNING_CERTIFICATE_ON_CERTSTORE
- See Also:
- Constant Field Values
-
PROBLEM_TO_OBTAIN_SIGNINGCERTIFICATE
- See Also:
- Constant Field Values
-
PROBLEM_WHEN_BUILDING_THE_CERTPATH
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SignerCertificationPathException
Construtor- Parameters:
cause- A exceção que ocorreu durante a verificação
-
SignerCertificationPathException
Construtor- Parameters:
message- A mensagem de errocertificateIndex- Índice do certificado que causou a exceção
-
SignerCertificationPathException
Construtor- Parameters:
message- A mensagem de errocause- A exceção que ocorreu durante a verificação
-
SignerCertificationPathException
Construtor- Parameters:
message- A mensagem de erro
-
-
Method Details
-
getCertificateIndex
public int getCertificateIndex()Retorna o índice do certificado- Returns:
- Índice do certificado que causou a exceção
-