CertificationRequest Class
Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 7.0.9147)
PKCS #10 certification request. This is the standard certificate format.
It is used (for example) by Internet Explorer's XEnroll control, but non-IE browsers generally use Signed
Syntax
public class CertificationRequest
Inherited Members
Constructors
Name | Description |
---|---|
Certification |
Creates a new PKCS #10 request for the specified subject and public key. |
Certification |
Parses a PKCS #10 request from an ASN.1 block. |
Properties
Name | Description |
---|---|
Attributes | Gets the PKCS #10 request's attributes. |
Certificate |
Gets the PKCS #10 request's certificate extension collection (represented by 1.2.840.113549.1.9.14 attribute in Attributes collection). |
Public |
Gets the PKCS #10 request's public key info. This includes the key itself. |
Subject | Gets the PKCS #10 request's subject. |
Methods
Name | Description |
---|---|
Encode() | Gets ASN.1 encoded form of this Certification |
Get |
Gets list of alternative hostnames. |
Save(Stream) | Saves the certification request to the supplied stream. |
Save(String) | Saves the certification request to the supplied file. |
Sign(Asymmetric |
Signs the certification request using a private key corresponding to the request's public key. |
Sign(Private |
Signs the certification request using a private key corresponding to the request's public key. |
Sign(Asymmetric |
Signs the certification request using a private key corresponding to the request's public key. |
Validate() | Validates the PKCS #10 request's signature. |
Validate(Distinguished |
Validates the PKCS #10 request's signature. |