org.bouncycastle.asn1.tsp
Class Accuracy
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.tsp.Accuracy
- All Implemented Interfaces:
- ASN1Encodable, Encodable
- public class Accuracy
- extends ASN1Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
MIN_MILLIS
protected static final int MIN_MILLIS
MAX_MILLIS
protected static final int MAX_MILLIS
MIN_MICROS
protected static final int MIN_MICROS
MAX_MICROS
protected static final int MAX_MICROS
Accuracy
protected Accuracy()
Accuracy
public Accuracy(ASN1Integer seconds,
ASN1Integer millis,
ASN1Integer micros)
getInstance
public static Accuracy getInstance(java.lang.Object o)
getSeconds
public ASN1Integer getSeconds()
getMillis
public ASN1Integer getMillis()
getMicros
public ASN1Integer getMicros()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- Accuracy ::= SEQUENCE {
seconds INTEGER OPTIONAL,
millis [0] INTEGER (1..999) OPTIONAL,
micros [1] INTEGER (1..999) OPTIONAL
}
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.