Class CertificatePathValidator
java.lang.Object
org.apache.synapse.transport.certificatevalidation.pathvalidation.CertificatePathValidator
Used to validate the revocation status of a certificate chain acquired from the peer. A revocation verifier
(OCSP or CRL) should be given. Must be used only once when validating certificate chain for an SSLSession.
Create a new instance if need to be reused because the path validation process is state-full.
Not thread safe
-
Constructor Summary
ConstructorsConstructorDescriptionCertificatePathValidator(X509Certificate[] certChainArray, RevocationVerifier verifier) -
Method Summary
-
Constructor Details
-
CertificatePathValidator
-
-
Method Details
-
validatePath
Certificate Path Validation process- Throws:
CertificateVerificationException- if validation process fails.Exception
-