Class CertDateCompare

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<org.mozilla.jss.netscape.security.x509.X509CertImpl>

    public class CertDateCompare
    extends java.lang.Object
    implements java.util.Comparator<org.mozilla.jss.netscape.security.x509.X509CertImpl>, java.io.Serializable
    Compares validity dates for use in sorting.
    Version:
    $Revision$, $Date$
    Author:
    kanda
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CertDateCompare()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(org.mozilla.jss.netscape.security.x509.X509CertImpl cert1, org.mozilla.jss.netscape.security.x509.X509CertImpl cert2)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • CertDateCompare

        public CertDateCompare()
    • Method Detail

      • compare

        public int compare​(org.mozilla.jss.netscape.security.x509.X509CertImpl cert1,
                           org.mozilla.jss.netscape.security.x509.X509CertImpl cert2)
        Specified by:
        compare in interface java.util.Comparator<org.mozilla.jss.netscape.security.x509.X509CertImpl>