C# Class Goedel.Cryptography.PKIX.Validity

Validity
Inheritance: Goedel.ASN1.Root
Show file Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Public Properties

Property Type Description
NotAfter System.DateTime
NotBefore System.DateTime

Public Methods

Method Description
Encode ( Goedel Buffer ) : void

Encode ASN.1 class members to specified buffer. NB Assinine ASN.1 DER encoding rules requires members be added in reverse order.

Validity ( System.DateTime NotBefore, System.DateTime NotAfter ) : System

Create Validity interval with specified NotBefore and NotAfter times.

Method Details

Encode() public method

Encode ASN.1 class members to specified buffer. NB Assinine ASN.1 DER encoding rules requires members be added in reverse order.
public Encode ( Goedel Buffer ) : void
Buffer Goedel Output buffer
return void

Validity() public method

Create Validity interval with specified NotBefore and NotAfter times.
public Validity ( System.DateTime NotBefore, System.DateTime NotAfter ) : System
NotBefore System.DateTime Time before which the enclosing certificate is not valid.
NotAfter System.DateTime Time after which the enclosing certificate is not valid.
return System

Property Details

NotAfter public property

ASN.1 member NotAfter
public DateTime,System NotAfter
return System.DateTime

NotBefore public property

ASN.1 member NotBefore
public DateTime,System NotBefore
return System.DateTime