Class GeneralizedTime

  • All Implemented Interfaces:
    ASN1Value

    public class GeneralizedTime
    extends TimeBase
    implements ASN1Value
    The ASN.1 type GeneralizedTime
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  GeneralizedTime.Template
      A class for decoding GeneralizedTimes.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Tag TAG  
      • Fields inherited from class org.mozilla.jss.asn1.TimeBase

        FORM
    • Constructor Summary

      Constructors 
      Constructor Description
      GeneralizedTime​(java.util.Date date)
      Creates a GeneralizedTime from a Date.
    • Field Detail

      • TAG

        public static final Tag TAG
    • Constructor Detail

      • GeneralizedTime

        public GeneralizedTime​(java.util.Date date)
        Creates a GeneralizedTime from a Date.
        Parameters:
        date - Input date.
    • Method Detail

      • getTag

        public Tag getTag()
        Description copied from interface: ASN1Value
        Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
        Specified by:
        getTag in interface ASN1Value
        Specified by:
        getTag in class TimeBase
        Returns:
        Base tag.
      • isUTC

        protected boolean isUTC()
        Specified by:
        isUTC in class TimeBase