Class CertificationPolicyException
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.CertificationPolicyException
- All Implemented Interfaces:
Serializable
public class CertificationPolicyException extends CertificationPathException
Esta classe representa uma exceção causada quando ocorre algum erro
durante a validação das políticas de certificação de um cadeia de certificados
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static String
UNKNOW_CERTIFICATION_POLICY
Fields 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, UNSPECIFIED
Fields inherited from class br.ufsc.labsec.signature.exceptions.PbadException
INVALID_ALGORITHM, INVALID_DIGEST_ALGORITHM
-
Constructor Summary
Constructors Constructor Description CertificationPolicyException(IOException cause)
ConstrutorCertificationPolicyException(String message)
ConstrutorCertificationPolicyException(String message, StackTraceElement[] stackTrace)
Construtor -
Method Summary
Modifier and Type Method Description void
setCritical(boolean critical)
Atribue se o erro é críticoMethods inherited from class br.ufsc.labsec.signature.conformanceVerifier.validationService.exceptions.CertificationPathException
getCertPath
Methods inherited from class br.ufsc.labsec.signature.exceptions.PbadException
isCritical
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
UNKNOW_CERTIFICATION_POLICY
- See Also:
- Constant Field Values
-
-
Constructor Details
-
CertificationPolicyException
Construtor- Parameters:
message
- A mensagem de erro
-
CertificationPolicyException
Construtor- Parameters:
message
- A mensagem de errostackTrace
- O stacktrace do erro
-
CertificationPolicyException
Construtor- Parameters:
cause
- A exceção que ocorreu durante a verificação
-
-
Method Details
-
setCritical
public void setCritical(boolean critical)Atribue se o erro é crítico- Overrides:
setCritical
in classPbadException
- Parameters:
critical
- Indica se o erro é crítica
-