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
Esta classe representa uma exceção causada por algum problema
no caminho de certificação do certificado do assinante.
- See Also:
-
Field Summary
FieldsFields inherited from class 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 PbadException
INVALID_ALGORITHM, INVALID_DIGEST_ALGORITHM -
Constructor Summary
ConstructorsConstructorDescriptionSignerCertificationPathException(String message) ConstrutorSignerCertificationPathException(String message, int certificateIndex) ConstrutorSignerCertificationPathException(String message, Throwable cause) ConstrutorConstrutor -
Method Summary
Methods inherited from class CertificationPathException
getCertPathMethods inherited from class PbadException
isCritical, setCriticalMethods inherited from class 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:
-
PROBLEM_TO_OBTAIN_SIGNINGCERTIFICATE
- See Also:
-
PROBLEM_WHEN_BUILDING_THE_CERTPATH
- See Also:
-
-
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
-
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
-