Class ValidityDateTrustManager

java.lang.Object
com.unboundid.util.ssl.ValidityDateTrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager

This class provides an SSL trust manager that merely checks to see whether a presented certificate is currently within its validity time window (i.e., the current time is not earlier than the certificate's notBefore timestamp and not later than the certificate's notAfter timestamp).

Note that no other elements of the certificate are examined, so it is strongly recommended that this trust manager be used in an AggregateTrustManager in conjunction with other trust managers that perform other forms of validation.