Class TrustValidationResult
- java.lang.Object
-
- de.xima.fc.certificate.provider.tls.TrustValidationResult
-
- All Implemented Interfaces:
Serializable
public final class TrustValidationResult extends Object implements Serializable
Model class representing the result of a trust validation in a TLS context.- Since:
- 8.5.0
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TrustValidationResult(X509Certificate[] capturedCertificateChain, boolean trustValidationPassed, Exception trustValidationException)Creates a newTrustValidationResultinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)X509Certificate[]getCapturedCertificateChain()The certificate chain that was captured during the trust validation.ExceptiongetTrustValidationException()The exception that occurred during the trust validation, if any.inthashCode()booleanisTrustValidationPassed()Indicates if the trust validation passed successfully.StringtoString()
-
-
-
Constructor Detail
-
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 Detail
-
getCapturedCertificateChain
public X509Certificate[] getCapturedCertificateChain()
The certificate chain that was captured during the trust validation.
-
isTrustValidationPassed
public boolean isTrustValidationPassed()
Indicates if the trust validation passed successfully.
-
getTrustValidationException
public Exception getTrustValidationException()
The exception that occurred during the trust validation, if any.
-
-