Table of Contents

Class Accuracy

Namespace
Org.BouncyCastle.Asn1.Tsp
Assembly
BouncyCastle.Cryptography.dll
public class Accuracy : Asn1Encodable, IAsn1Convertible
Inheritance
Accuracy
Implements
Inherited Members

Constructors

Accuracy(DerInteger, DerInteger, DerInteger)

public Accuracy(DerInteger seconds, DerInteger millis, DerInteger micros)

Parameters

seconds DerInteger
millis DerInteger
micros DerInteger

Fields

MaxMicros

protected const int MaxMicros = 999

Field Value

int

MaxMillis

protected const int MaxMillis = 999

Field Value

int

MinMicros

protected const int MinMicros = 1

Field Value

int

MinMillis

protected const int MinMillis = 1

Field Value

int

Properties

Micros

public DerInteger Micros { get; }

Property Value

DerInteger

Millis

public DerInteger Millis { get; }

Property Value

DerInteger

Seconds

public DerInteger Seconds { get; }

Property Value

DerInteger

Methods

GetInstance(Asn1TaggedObject, bool)

public static Accuracy GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

Accuracy

GetInstance(object)

public static Accuracy GetInstance(object obj)

Parameters

obj object

Returns

Accuracy

GetOptional(Asn1Encodable)

public static Accuracy GetOptional(Asn1Encodable element)

Parameters

element Asn1Encodable

Returns

Accuracy

GetTagged(Asn1TaggedObject, bool)

public static Accuracy GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

Accuracy

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object