org.bouncycastle.asn1.tsp
Class Accuracy
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Encodable
|
+--org.bouncycastle.asn1.tsp.Accuracy
- All Implemented Interfaces:
- DEREncodable
- public class Accuracy
- extends ASN1Encodable
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(DERInteger seconds,
DERInteger millis,
DERInteger micros)
Accuracy
public Accuracy(ASN1Sequence seq)
getInstance
public static Accuracy getInstance(java.lang.Object o)
getSeconds
public DERInteger getSeconds()
getMillis
public DERInteger getMillis()
getMicros
public DERInteger getMicros()
toASN1Object
public DERObject toASN1Object()
Accuracy ::= SEQUENCE {
seconds INTEGER OPTIONAL,
millis [0] INTEGER (1..999) OPTIONAL,
micros [1] INTEGER (1..999) OPTIONAL
}
- Overrides:
toASN1Object
in class ASN1Encodable