Class Duration

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.its.Duration
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice, org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class Duration extends org.bouncycastle.asn1.ASN1Object implements org.bouncycastle.asn1.ASN1Choice
     Duration ::= CHOICE {
         microseconds Uint16,
         milliseconds Uint16,
         seconds Uint16,
         minutes Uint16,
         hours Uint16,
         sixtyHours Uint16,
         years Uint16
     }
 
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.asn1.ASN1Primitive
     

    Methods inherited from class org.bouncycastle.asn1.ASN1Object

    encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Duration

      public Duration()
  • Method Details

    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object