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()
Deprecated.
Will be removed
|
|
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(org.bouncycastle.asn1.ASN1TaggedObject taggedObject,
boolean declaredExplicit) |
static Accuracy |
getInstance(java.lang.Object obj) |
org.bouncycastle.asn1.ASN1Integer |
getMicros() |
org.bouncycastle.asn1.ASN1Integer |
getMillis() |
org.bouncycastle.asn1.ASN1Integer |
getSeconds() |
static Accuracy |
getTagged(org.bouncycastle.asn1.ASN1TaggedObject taggedObject,
boolean declaredExplicit) |
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 obj)
public static Accuracy getInstance(org.bouncycastle.asn1.ASN1TaggedObject taggedObject, boolean declaredExplicit)
public static Accuracy getTagged(org.bouncycastle.asn1.ASN1TaggedObject taggedObject, boolean declaredExplicit)
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.ASN1EncodabletoASN1Primitive in class org.bouncycastle.asn1.ASN1Object