Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an abstraction over the PKCS#10 CertificationRequestInfo and the X.509 TbsCertificate.
public ref class CertificateRequest sealed
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public sealed class CertificateRequest
public sealed class CertificateRequest
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type CertificateRequest = class
type CertificateRequest = class
Public NotInheritable Class CertificateRequest
The CertificateRequest class allows callers to create self-signed or chain-signed X.509 Public-Key Certificates, as well as to create a certificate signing request blob to send to a Certificate Authority (CA).
Certificate |
Gets the X.509 Certificate Extensions collection, which is a mutable collection, to include in the certificate or certificate request. |
Hash |
Gets the hash algorithm to use when signing the certificate or certificate request. |
Other |
Gets a collection representing attributes, other than the extension request attribute, to include in a certificate request. |
Public |
Gets a representation of the public key for the certificate or certificate request. |
Subject |
Gets the X.500 Distinguished Name to use as the Subject in a created certificate or certificate request. |
Create(X500Distinguished |
Signs the current certificate request to create a chain-signed or self-signed certificate. |
Create(X500Distinguished |
Sign the current certificate request to create a chain-signed or self-signed certificate. |
Create(X509Certificate2, Date |
Creates a certificate using the established subject, key, and optional extensions using the specified certificate as the issuer. |
Create(X509Certificate2, Date |
Create a certificate using the established subject, key, and optional extensions using the provided certificate as the issuer. |
Create |
Creates a self-signed certificate using the established subject, key, and optional extensions. |
Create |
Creates an ASN.1 DER-encoded PKCS#10 CertificationRequest value representing the state of the current object. |
Create |
Creates an ASN.1 DER-encoded PKCS#10 CertificationRequest representing the current state of the current object using the provided signature generator. |
Create |
Creates a PEM-encoded PKCS#10 CertificationRequest representing the current state of this object using the provided signature generator. |
Create |
Creates a PEM-encoded PKCS#10 CertificationRequest representing the current state of this object using the provided signature generator. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Load |
Loads a binary PKCS#10 signing request as a new CertificateRequest instance. |
Load |
Loads a binary PKCS#10 signing request as a new CertificateRequest instance. |
Load |
Loads the first PEM-encoded PKCS#10 signing request from |
Load |
Loads the first PEM-encoded PKCS#10 signing request from |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Product | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in