Package org.spongycastle.asn1.tsp
Class Accuracy
java.lang.Object
org.spongycastle.asn1.ASN1Object
org.spongycastle.asn1.tsp.Accuracy
- All Implemented Interfaces:
org.spongycastle.asn1.ASN1Encodable,org.spongycastle.util.Encodable
public class Accuracy
extends org.spongycastle.asn1.ASN1Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected static final intprotected static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Accuracyorg.spongycastle.asn1.ASN1Integerorg.spongycastle.asn1.ASN1Integerorg.spongycastle.asn1.ASN1Integerorg.spongycastle.asn1.ASN1PrimitiveAccuracy ::= SEQUENCE { seconds INTEGER OPTIONAL, millis [0] INTEGER (1..999) OPTIONAL, micros [1] INTEGER (1..999) OPTIONAL }Methods inherited from class org.spongycastle.asn1.ASN1Object
encodeTo, encodeTo, 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
public Accuracy(org.spongycastle.asn1.ASN1Integer seconds, org.spongycastle.asn1.ASN1Integer millis, org.spongycastle.asn1.ASN1Integer micros)
-
-
Method Details
-
getInstance
-
getSeconds
public org.spongycastle.asn1.ASN1Integer getSeconds() -
getMillis
public org.spongycastle.asn1.ASN1Integer getMillis() -
getMicros
public org.spongycastle.asn1.ASN1Integer getMicros() -
toASN1Primitive
public org.spongycastle.asn1.ASN1Primitive toASN1Primitive()Accuracy ::= SEQUENCE { seconds INTEGER OPTIONAL, millis [0] INTEGER (1..999) OPTIONAL, micros [1] INTEGER (1..999) OPTIONAL }- Specified by:
toASN1Primitivein interfaceorg.spongycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.spongycastle.asn1.ASN1Object
-