Class GeneralizedTime

java.lang.Object
org.mozilla.jss.asn1.TimeBase
org.mozilla.jss.asn1.GeneralizedTime
All Implemented Interfaces:
ASN1Value

public class GeneralizedTime extends TimeBase
The ASN.1 type GeneralizedTime
  • Field Details

  • Constructor Details

    • GeneralizedTime

      public GeneralizedTime(Date date)
      Creates a GeneralizedTime from a Date.
      Parameters:
      date - Input date.
  • Method Details

    • 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
    • getTemplate

      public static GeneralizedTime.Template getTemplate()