diff --git a/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/certificatevalidation/CertificateVerificationManager.java b/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/certificatevalidation/CertificateVerificationManager.java index 3ff125fd6d..ed70bc8f5a 100644 --- a/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/certificatevalidation/CertificateVerificationManager.java +++ b/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/certificatevalidation/CertificateVerificationManager.java @@ -241,10 +241,8 @@ private X509Certificate[] convert(javax.security.cert.X509Certificate[] certs) /** * Checks whether a provided certificate is expired or not at the time it is validated. * - * @param certificates - * @throws CertificateNotYetValidException - * @throws CertificateExpiredException - * @throws CertificateVerificationException + * @param certificates array of certificates needs to be validated + * @throws CertificateVerificationException if one of the certs are expired, this exception will be thrown */ public void isExpired(javax.security.cert.X509Certificate[] certificates) throws CertificateVerificationException {