Class Time

java.lang.Object
org.apache.kerby.asn1.type.Asn1Object
org.apache.kerby.asn1.type.Asn1Encodeable
org.apache.kerby.asn1.type.AbstractAsn1Type<org.apache.kerby.asn1.type.Asn1Type>
org.apache.kerby.asn1.type.Asn1Choice
org.apache.kerby.x509.type.Time
All Implemented Interfaces:
org.apache.kerby.asn1.Asn1Dumpable, org.apache.kerby.asn1.type.Asn1Type

public class Time extends org.apache.kerby.asn1.type.Asn1Choice
 Time ::= CHOICE {
             utcTime        UTCTime,
             generalTime    GeneralizedTime
          }
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static enum 
     

    Nested classes/interfaces inherited from interface org.apache.kerby.asn1.type.Asn1Type

    org.apache.kerby.asn1.type.Asn1Type.EncodingType
  • Field Summary

    Fields inherited from class org.apache.kerby.asn1.type.Asn1Encodeable

    bodyLength, outerEncodeable
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    void
    setGeneralTime(org.apache.kerby.asn1.type.Asn1GeneralizedTime generalTime)
     
    void
    setUtcTime(org.apache.kerby.asn1.type.Asn1UtcTime utcTime)
     

    Methods inherited from class org.apache.kerby.asn1.type.Asn1Choice

    decode, decode, decodeBody, dumpWith, encode, encode, encodeBody, encodingBodyLength, encodingLength, getChoiceValueAs, getChoiceValueAsOctets, matchAndSetValue, setChoiceValue, setChoiceValueAsOctets, tag

    Methods inherited from class org.apache.kerby.asn1.type.AbstractAsn1Type

    getValue, setValue, toString

    Methods inherited from class org.apache.kerby.asn1.type.Asn1Encodeable

    decode, encodingHeaderLength, getBodyLength, getHeaderLength, isBER, isCER, isDefinitiveLength, isDER, isImplicit, isPrimitive, resetBodyLength, taggedDecode, taggedDecode, taggedDecode, taggedEncode, taggedEncode, taggedEncodingLength, useBER, useCER, useDefinitiveLength, useDER, useImplicit, usePrimitive

    Methods inherited from class org.apache.kerby.asn1.type.Asn1Object

    isAppSpecific, isCollection, isContextSpecific, isEOC, isNull, isSimple, isTagSpecific, isUniversal, simpleInfo, tagFlags, tagNo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Time

      public Time()
  • Method Details

    • getUtcTime

      public Date getUtcTime()
    • setUtcTime

      public void setUtcTime(org.apache.kerby.asn1.type.Asn1UtcTime utcTime)
    • generalizedTime

      public Date generalizedTime()
    • setGeneralTime

      public void setGeneralTime(org.apache.kerby.asn1.type.Asn1GeneralizedTime generalTime)