Class ChainConstraintsFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
br.ufsc.labsec.validationResult.results.reasons.ValidationResultReason
br.ufsc.labsec.validationResult.exceptions.invalidExceptions.ReasonForTotalFailed
br.ufsc.labsec.validationResult.exceptions.invalidExceptions.ChainConstraintsFailure
- All Implemented Interfaces:
BoundsReference, CertificateChainReference, CertificateReference, ConstraintsFailure, Serializable
public class ChainConstraintsFailure
extends ReasonForTotalFailed
implements CertificateChainReference, ConstraintsFailure
The signature is considered invalid because the certificate chain used in the validation process does not match
the validation constraints related to the certificate.
The validation process shall output:
- The certificate chain used in the validation process.
- The set of constraints that have not been met by the chain. TODO: consider adding this information
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionChainConstraintsFailure(X509Certificate certificate, CertPath certPath, String message) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class ValidationResultReason
assertReason, getReason, is, isIn, isReasonForIndeterminate, isReasonForTotalFailed, isRevokedReason, isValidationNotPossible, result, setValidationNotPossibleMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface BoundsReference
getMessageMethods inherited from interface CertificateChainReference
expired, inBounds, notAfter, notBefore, notYetValid
-
Constructor Details
-
ChainConstraintsFailure
-
-
Method Details
-
getCertificate
- Specified by:
getCertificatein interfaceCertificateReference
-
getCertPath
- Specified by:
getCertPathin interfaceBoundsReference
-
timeReference
- Specified by:
timeReferencein interfaceBoundsReference
-
getDetails
- Specified by:
getDetailsin interfaceConstraintsFailure
-