This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.net.ssl.X509TrustManager; | |
import java.security.cert.CertificateException; | |
import java.security.cert.CertificateExpiredException; | |
import java.security.cert.X509Certificate; | |
/** | |
* A custom implementation of the javax.net.ssl.X509TrustManager interface that includes a check for certificate validity. | |
* This implementation can be used to deny expired certificates and protect against attacks that rely on exploiting | |
* certificate validity periods. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2.28.0: | |
release_date: '2023-02-03' | |
jdk_compatibility: 11+ | |
2.27.1: | |
release_date: '2022-12-01' | |
jdk_compatibility: 11+ | |
2.27.0: | |
release_date: '2022-11-14' | |
jdk_compatibility: 11+ | |
2.26.0: |
OlderNewer