public class Accuracy
extends org.bouncycastle.asn1.ASN1Object
Modifier and Type | Field and Description |
---|---|
protected static int |
MAX_MICROS |
protected static int |
MAX_MILLIS |
protected static int |
MIN_MICROS |
protected static int |
MIN_MILLIS |
Modifier | Constructor and Description |
---|---|
protected |
Accuracy() |
|
Accuracy(org.bouncycastle.asn1.ASN1Integer seconds,
org.bouncycastle.asn1.ASN1Integer millis,
org.bouncycastle.asn1.ASN1Integer micros) |
Modifier and Type | Method and Description |
---|---|
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
}
|
protected static final int MIN_MILLIS
protected static final int MAX_MILLIS
protected static final int MIN_MICROS
protected static final int MAX_MICROS
protected Accuracy()
public Accuracy(org.bouncycastle.asn1.ASN1Integer seconds, org.bouncycastle.asn1.ASN1Integer millis, org.bouncycastle.asn1.ASN1Integer micros)
public static Accuracy getInstance(java.lang.Object o)
public org.bouncycastle.asn1.ASN1Integer getSeconds()
public org.bouncycastle.asn1.ASN1Integer getMillis()
public org.bouncycastle.asn1.ASN1Integer getMicros()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
Accuracy ::= SEQUENCE { seconds INTEGER OPTIONAL, millis [0] INTEGER (1..999) OPTIONAL, micros [1] INTEGER (1..999) OPTIONAL }
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object