public class

Accuracy

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.tsp.Accuracy

Summary

Constants
int MAX_MICROS
int MAX_MILLIS
int MIN_MICROS
int MIN_MILLIS
[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
Accuracy(DERInteger seconds, DERInteger millis, DERInteger micros)
Accuracy(ASN1Sequence seq)
Protected Constructors
Accuracy()
Public Methods
static Accuracy getInstance(Object o)
DERInteger getMicros()
DERInteger getMillis()
DERInteger getSeconds()
DERObject toASN1Object()
 Accuracy ::= SEQUENCE {
             seconds        INTEGER              OPTIONAL,
             millis     [0] INTEGER  (1..999)    OPTIONAL,
             micros     [1] INTEGER  (1..999)    OPTIONAL
             }
 
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Constants

protected static final int MAX_MICROS

Constant Value: 999 (0x000003e7)

protected static final int MAX_MILLIS

Constant Value: 999 (0x000003e7)

protected static final int MIN_MICROS

Constant Value: 1 (0x00000001)

protected static final int MIN_MILLIS

Constant Value: 1 (0x00000001)

Public Constructors

public Accuracy (DERInteger seconds, DERInteger millis, DERInteger micros)

public Accuracy (ASN1Sequence seq)

Protected Constructors

protected Accuracy ()

Public Methods

public static Accuracy getInstance (Object o)

public DERInteger getMicros ()

public DERInteger getMillis ()

public DERInteger getSeconds ()

public DERObject toASN1Object ()

 Accuracy ::= SEQUENCE {
             seconds        INTEGER              OPTIONAL,
             millis     [0] INTEGER  (1..999)    OPTIONAL,
             micros     [1] INTEGER  (1..999)    OPTIONAL
             }