C# Class Goedel.Cryptography.PKIX.AlgorithmIdentifier

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

Public Properties

Property Type Description
Algorithm int[]
Parameters List

Public Methods

Method Description
AlgorithmIdentifier ( Oid Oid ) : System

Convert a X509Certificate2 Oid structure to an algorithm identifier.

AlgorithmIdentifier ( string ID ) : System

Construct from OID identifier string.

AlgorithmIdentifier ( string Text, int Numbers ) : System

Create an Algorithm Identifier from an integer array.

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.

Method Details

AlgorithmIdentifier() public method

Convert a X509Certificate2 Oid structure to an algorithm identifier.
public AlgorithmIdentifier ( Oid Oid ) : System
Oid System.Security.Cryptography.Oid
return System

AlgorithmIdentifier() public method

Construct from OID identifier string.
public AlgorithmIdentifier ( string ID ) : System
ID string
return System

AlgorithmIdentifier() public method

Create an Algorithm Identifier from an integer array.
public AlgorithmIdentifier ( string Text, int Numbers ) : System
Text string
Numbers int
return System

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

Property Details

Algorithm public property

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

Parameters public property

ASN.1 member Parameters
public List Parameters
return List