Class Accuracy

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.tsp.Accuracy
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class Accuracy extends org.bouncycastle.asn1.ASN1Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final int
     
    protected static final int
     
    protected static final int
     
    protected static final int
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
     
    Accuracy(org.bouncycastle.asn1.ASN1Integer seconds, org.bouncycastle.asn1.ASN1Integer millis, org.bouncycastle.asn1.ASN1Integer micros)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Accuracy
     
    org.bouncycastle.asn1.ASN1Integer
     
    org.bouncycastle.asn1.ASN1Integer
     
    org.bouncycastle.asn1.ASN1Integer
     
    org.bouncycastle.asn1.ASN1Primitive
    Accuracy ::= SEQUENCE { seconds INTEGER OPTIONAL, millis [0] INTEGER (1..999) OPTIONAL, micros [1] INTEGER (1..999) OPTIONAL }

    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
  • Field Details

  • Constructor Details

    • Accuracy

      protected Accuracy()
    • Accuracy

      public Accuracy(org.bouncycastle.asn1.ASN1Integer seconds, org.bouncycastle.asn1.ASN1Integer millis, org.bouncycastle.asn1.ASN1Integer micros)
  • Method Details

    • getInstance

      public static Accuracy getInstance(Object o)
    • getSeconds

      public org.bouncycastle.asn1.ASN1Integer getSeconds()
    • getMillis

      public org.bouncycastle.asn1.ASN1Integer getMillis()
    • getMicros

      public org.bouncycastle.asn1.ASN1Integer getMicros()
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
       Accuracy ::= SEQUENCE {
                   seconds        INTEGER              OPTIONAL,
                   millis     [0] INTEGER  (1..999)    OPTIONAL,
                   micros     [1] INTEGER  (1..999)    OPTIONAL
                   }
       
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object