Class 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 Detail

      • Duration

        public Duration()
    • Method Detail

      • 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