C# Class Goedel.Cryptography.PKIX.Extension

Extension
Inheritance: Goedel.ASN1.Root
Datei anzeigen Open project: hallambaker/Mathematical-Mesh

Public Properties

Property Type Description
Critical bool
Data byte[]
ObjectIdentifier int[]

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.

Extension ( Goedel Object, bool Critical ) : System

Create an extension from the specified object with optional criticality flag.

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

Extension() public method

Create an extension from the specified object with optional criticality flag.
public Extension ( Goedel Object, bool Critical ) : System
Object Goedel The object to encode.
Critical bool If true, the extension will be marked as /// 'critical' meaning that backwards compatibility will be broken /// and legacy relying parties MUST reject the certificate. Only use /// if this is the intended behavior.
return System

Property Details

Critical public_oe property

ASN.1 member Critical
public bool Critical
return bool

Data public_oe property

ASN.1 member Data
public byte[] Data
return byte[]

ObjectIdentifier public_oe property

ASN.1 member ObjectIdentifier
public int[] ObjectIdentifier
return int[]