Class SignerCertificationPathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
br.ufsc.labsec.signature.exceptions.PbadException
br.ufsc.labsec.signature.conformanceVerifier.cades.exceptions.CertificationPathException
br.ufsc.labsec.signature.conformanceVerifier.cades.exceptions.SignerCertificationPathException
- All Implemented Interfaces:
Serializable
public class SignerCertificationPathException extends CertificationPathException
Esta classe representa uma exceção que ocorre por erro no
caminho de certificação do certificado do assinante
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static String
PROBLEM_TO_OBTAIN_SIGNINGCERTIFICATE
static String
PROBLEM_TO_SELECT_SIGNING_CERTIFICATE_ON_CERTSTORE
static String
PROBLEM_WHEN_BUILDING_THE_CERTPATH
Fields inherited from class br.ufsc.labsec.signature.conformanceVerifier.cades.exceptions.CertificationPathException
NO_SUCH_ALGORITHM
Fields inherited from class br.ufsc.labsec.signature.exceptions.PbadException
INVALID_ALGORITHM, INVALID_DIGEST_ALGORITHM, INVALID_SIGNATURE
-
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 int
getCertificateIndex()
Retorna o índice do certificadoMethods inherited from class br.ufsc.labsec.signature.exceptions.PbadException
isCritical, setCritical
Methods 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
-
SignerCertificationPathException
Construtor- Parameters:
message
- A mensagem de errocertificateIndex
- O índice do certificado
-
SignerCertificationPathException
Construtor- Parameters:
message
- A mensagem de errocause
- A exceção que ocorreu
-
SignerCertificationPathException
Construtor- Parameters:
message
- A mensagem de erro
-
-
Method Details
-
getCertificateIndex
public int getCertificateIndex()Retorna o índice do certificado- Returns:
- O índice do certificado
-