C# Class Goedel.Cryptography.PKIX.CertificationRequest

CertificationRequest
Inheritance: Goedel.ASN1.Root
Show file Open project: hallambaker/Mathematical-Mesh

Public Properties

Property Type Description
CertificationRequestInfo Goedel.Cryptography.PKIX.CertificationRequestInfo
Signature byte[]
SignatureAlgorithm Goedel.Cryptography.PKIX.AlgorithmIdentifier

Public Methods

Method Description
CertificationRequest ( ) : System

Construct a certification request.

CertificationRequest ( Certificate Certificate ) : System

Construct a certification request for the specified certificate.

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.

SetSubject ( string name ) : void

Set the subject name.

Sign ( CryptoProviderSignature SigningKey ) : void

Sign the request

Method Details

CertificationRequest() public method

Construct a certification request.
public CertificationRequest ( ) : System
return System

CertificationRequest() public method

Construct a certification request for the specified certificate.
public CertificationRequest ( Certificate Certificate ) : System
Certificate Certificate
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

SetSubject() public method

Set the subject name.
public SetSubject ( string name ) : void
name string
return void

Sign() public method

Sign the request
public Sign ( CryptoProviderSignature SigningKey ) : void
SigningKey CryptoProviderSignature
return void

Property Details

CertificationRequestInfo public property

ASN.1 member CertificationRequestInfo
public Goedel.Cryptography.PKIX.CertificationRequestInfo CertificationRequestInfo
return Goedel.Cryptography.PKIX.CertificationRequestInfo

Signature public property

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

SignatureAlgorithm public property

ASN.1 member SignatureAlgorithm
public Goedel.Cryptography.PKIX.AlgorithmIdentifier SignatureAlgorithm
return Goedel.Cryptography.PKIX.AlgorithmIdentifier