Class TrustValidationResult
java.lang.Object
de.xima.fc.certificate.provider.tls.TrustValidationResult
- All Implemented Interfaces:
Serializable
Model class representing the result of a trust validation in a TLS context.
- Since:
- 8.5.0
- Author:
- Norman Lorenz
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTrustValidationResult(X509Certificate[] capturedCertificateChain, boolean trustValidationPassed, Exception trustValidationException) Creates a newTrustValidationResultinstance. -
Method Summary
-
Constructor Details
-
TrustValidationResult
public TrustValidationResult(X509Certificate[] capturedCertificateChain, boolean trustValidationPassed, Exception trustValidationException) Creates a newTrustValidationResultinstance.- Parameters:
capturedCertificateChain- The certificate chain that was captured during the trust validation.trustValidationPassed- Indicates if the trust validation passed successfully.trustValidationException- The exception that occurred during the trust validation, if any.
-
-
Method Details
-
getCapturedCertificateChain
The certificate chain that was captured during the trust validation. -
isTrustValidationPassed
public boolean isTrustValidationPassed()Indicates if the trust validation passed successfully. -
getTrustValidationException
The exception that occurred during the trust validation, if any. -
equals
-
hashCode
-
toString
-