Class CertificationPathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
br.ufsc.labsec.signature.exceptions.PbadException
br.ufsc.labsec.signature.conformanceVerifier.validationService.exceptions.CertificationPathException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CertificationPolicyException
,SignerCertificationPathException
public class CertificationPathException extends PbadException
Esta classe representa uma exceção causada por algum problema no
caminho de certificação de um certificado.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class br.ufsc.labsec.signature.exceptions.PbadException
INVALID_ALGORITHM, INVALID_DIGEST_ALGORITHM
-
Constructor Summary
Constructors Constructor Description CertificationPathException(String message)
ConstrutorCertificationPathException(String message, Throwable cause)
ConstrutorCertificationPathException(String message, CertPath certPath)
ConstrutorCertificationPathException(Throwable cause)
ConstrutorCertificationPathException(Throwable cause, CertPath certPath)
Construtor -
Method Summary
Modifier and Type Method Description CertPath
getCertPath()
Retorna o caminho de certificaçãoMethods 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
-
ALGORITHM_CONSTRAINED
- See Also:
- Constant Field Values
-
INVALID_ALGORITHM_PARAMS_OR_ALGORITHM
- See Also:
- Constant Field Values
-
INVALID_KEY_USAGE
- See Also:
- Constant Field Values
-
INVALID_NAME
- See Also:
- Constant Field Values
-
INVALID_POLICY
- See Also:
- Constant Field Values
-
INVALID_SIGNATURE
- See Also:
- Constant Field Values
-
INVALID_CERTIFICATE_SIGNATURE
- See Also:
- Constant Field Values
-
NAME_CHAINING
- See Also:
- Constant Field Values
-
NO_SUCH_ALGORITHM
- See Also:
- Constant Field Values
-
NO_TRUST_ANCHOR
- See Also:
- Constant Field Values
-
NOT_CA_CERT
- See Also:
- Constant Field Values
-
PATH_TOO_LONG
- See Also:
- Constant Field Values
-
PROBLEM_TO_VALIDATE_CERTPATH
- See Also:
- Constant Field Values
-
UNDETERMINED_REVOCATION_STATUS
- See Also:
- Constant Field Values
-
UNKNOWN_CERT_PATH_VALIDATION
- See Also:
- Constant Field Values
-
UNRECOGNIZED_CRIT_EXT
- See Also:
- Constant Field Values
-
CERT_PATH_NOT_FOUND
- See Also:
- Constant Field Values
-
ERROR_WHEN_SELECTING_CRL_IN_THE_CERTSTORE
- See Also:
- Constant Field Values
-
NO_SUCH_PROVIDER
- See Also:
- Constant Field Values
-
NO_SIGNING_CERTIFICATE_FOUND
- See Also:
- Constant Field Values
-
REVOKED_CERTIFICATE
- See Also:
- Constant Field Values
-
EXPIRED_CERTIFICATE
- See Also:
- Constant Field Values
-
CERTIFICATE_OUT_OF_BOUNDS
- See Also:
- Constant Field Values
-
CERTIFICATE_NOT_VALID_YET
- See Also:
- Constant Field Values
-
MISMATCH_POLICY_TRUSTED_ANCHORS
- See Also:
- Constant Field Values
-
UNSPECIFIED
- See Also:
- Constant Field Values
-
CRL_NOT_FOUND
- See Also:
- Constant Field Values
-
CRL_EXPIRED
- See Also:
- Constant Field Values
-
CRL_REVOKED
- See Also:
- Constant Field Values
-
CRL_NOT_YET_VALID
- See Also:
- Constant Field Values
-
-
Constructor Details
-
CertificationPathException
Construtor- Parameters:
cause
- A exceção que ocorreu durante a verificação
-
CertificationPathException
Construtor- Parameters:
message
- A mensagem de erro
-
CertificationPathException
Construtor- Parameters:
message
- A mensagem de errocause
- A exceção que ocorreu durante a verificação
-
CertificationPathException
Construtor- Parameters:
message
- A mensagem de errocertPath
- O caminho de certificação em que ocorreu o erro
-
CertificationPathException
Construtor- Parameters:
cause
- A exceção que ocorreu durante a verificaçãocertPath
- O caminho de certificação em que ocorreu o erro
-
-
Method Details
-
getCertPath
Retorna o caminho de certificação- Returns:
- O caminho de certificação
-