Class SignerCertificationPathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
br.ufsc.labsec.signature.exceptions.PbadException
br.ufsc.labsec.signature.conformanceVerifier.xades.exceptions.CertificationPathException
br.ufsc.labsec.signature.conformanceVerifier.xades.exceptions.SignerCertificationPathException
- All Implemented Interfaces:
Serializable
Esta classe representa uma exceção que ocorre por erro no
caminho de certificação do certificado do assinante
- See Also:
-
Field Summary
FieldsFields inherited from class CertificationPathException
NO_SUCH_ALGORITHM, SIGNING_CERTIFICATE_MISMATCHFields inherited from class PbadException
INVALID_ALGORITHM, INVALID_DIGEST_ALGORITHM, INVALID_SIGNATURE -
Constructor Summary
ConstructorsConstructorDescriptionSignerCertificationPathException(String message) ConstrutorSignerCertificationPathException(String message, int certificateIndex) ConstrutorSignerCertificationPathException(String message, Throwable cause) ConstrutorConstrutor -
Method Summary
Methods 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
-
SignerCertificationPathException
Construtor- Parameters:
message- A mensagem de errocertificateIndex- O índice do certificado
-
SignerCertificationPathException
-
SignerCertificationPathException
Construtor- Parameters:
message- A mensagem de erro
-
-
Method Details
-
getCertificateIndex
public int getCertificateIndex()Retorna o índice do certificado- Returns:
- O índice do certificado
-