Top Fields Constructors Methods
org.bouncycastle.asn1.tsp

public Class Accuracy

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence, .DERTaggedObject

Field Summary

Modifier and TypeField and Description
protected static final int
protected static final int
pack-priv ASN1Integer
pack-priv ASN1Integer
protected static final int
protected static final int
pack-priv ASN1Integer

Constructor Summary

AccessConstructor and Description
protected
public
Accuracy(ASN1Integer seconds, ASN1Integer millis, ASN1Integer micros)

private

Method Summary

Modifier and TypeMethod and Description
public static Accuracy
public ASN1Integer
public ASN1Integer
public ASN1Integer
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Accuracy ::= SEQUENCE {
            seconds        INTEGER              OPTIONAL,
            millis     [0] INTEGER  (1..999)    OPTIONAL,
            micros     [1] INTEGER  (1..999)    OPTIONAL
            }
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

MAX_MICROSback to summary
protected static final int MAX_MICROS
MAX_MILLISback to summary
protected static final int MAX_MILLIS
microsback to summary
pack-priv ASN1Integer micros
millisback to summary
pack-priv ASN1Integer millis
MIN_MICROSback to summary
protected static final int MIN_MICROS
MIN_MILLISback to summary
protected static final int MIN_MILLIS
secondsback to summary
pack-priv ASN1Integer seconds

Constructor Detail

Accuracyback to summary
protected Accuracy()
Accuracyback to summary
public Accuracy(ASN1Integer seconds, ASN1Integer millis, ASN1Integer micros)
Accuracyback to summary
private Accuracy(ASN1Sequence seq)

Method Detail

getInstanceback to summary
public static Accuracy getInstance(Object o)
getMicrosback to summary
public ASN1Integer getMicros()
getMillisback to summary
public ASN1Integer getMillis()
getSecondsback to summary
public ASN1Integer getSeconds()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Accuracy ::= SEQUENCE {
            seconds        INTEGER              OPTIONAL,
            millis     [0] INTEGER  (1..999)    OPTIONAL,
            micros     [1] INTEGER  (1..999)    OPTIONAL
            }
Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.