Package org.bouncycastle.asn1.tsp
Class Accuracy
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.tsp.Accuracy
- All Implemented Interfaces:
ASN1Encodable
,Encodable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final int
protected static final int
protected static final int
protected static final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Accuracy()
Accuracy
(ASN1Integer seconds, ASN1Integer millis, ASN1Integer micros) -
Method Summary
Modifier and TypeMethodDescriptionstatic Accuracy
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
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
MIN_MILLIS
protected static final int MIN_MILLIS- See Also:
-
MAX_MILLIS
protected static final int MAX_MILLIS- See Also:
-
MIN_MICROS
protected static final int MIN_MICROS- See Also:
-
MAX_MICROS
protected static final int MAX_MICROS- See Also:
-
-
Constructor Details
-
Accuracy
protected Accuracy() -
Accuracy
-
-
Method Details
-
getInstance
-
getSeconds
-
getMillis
-
getMicros
-
toASN1Primitive
Accuracy ::= SEQUENCE { seconds INTEGER OPTIONAL, millis [0] INTEGER (1..999) OPTIONAL, micros [1] INTEGER (1..999) OPTIONAL }
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-