Package 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
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
MAX_MICROS
protected static int
MAX_MILLIS
protected static int
MIN_MICROS
protected static int
MIN_MILLIS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Accuracy
getInstance(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 }
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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 }
- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
-