org.bouncycastle.asn1.tsp
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
Constructor Summary |
protected |
Accuracy()
|
|
Accuracy(org.bouncycastle.asn1.ASN1Integer seconds,
org.bouncycastle.asn1.ASN1Integer millis,
org.bouncycastle.asn1.ASN1Integer micros)
|
Method Summary |
static Accuracy |
getInstance(java.lang.Object o)
|
org.bouncycastle.asn1.ASN1Integer |
getMicros()
|
org.bouncycastle.asn1.ASN1Integer |
getMillis()
|
org.bouncycastle.asn1.ASN1Integer |
getSeconds()
|
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
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 |
MIN_MILLIS
protected static final int MIN_MILLIS
- See Also:
- Constant Field Values
MAX_MILLIS
protected static final int MAX_MILLIS
- See Also:
- Constant Field Values
MIN_MICROS
protected static final int MIN_MICROS
- See Also:
- Constant Field Values
MAX_MICROS
protected static final int MAX_MICROS
- See Also:
- Constant Field Values
Accuracy
protected Accuracy()
Accuracy
public Accuracy(org.bouncycastle.asn1.ASN1Integer seconds,
org.bouncycastle.asn1.ASN1Integer millis,
org.bouncycastle.asn1.ASN1Integer micros)
getInstance
public static Accuracy getInstance(java.lang.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
}