Table of Contents

Class Validity

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

Constructors

Validity(Time, Time)

public Validity(Time notBefore, Time notAfter)

Parameters

notBefore Time
notAfter Time

Properties

NotAfter

public Time NotAfter { get; }

Property Value

Time

NotBefore

public Time NotBefore { get; }

Property Value

Time

Methods

GetInstance(Asn1TaggedObject, bool)

public static Validity GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

Validity

GetInstance(object)

public static Validity GetInstance(object obj)

Parameters

obj object

Returns

Validity

GetTagged(Asn1TaggedObject, bool)

public static Validity GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

Validity

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object