IX509CertificateRequestCertificate2 interface
Applies to: desktop apps only
The IX509CertificateRequestCertificate2 interface represents a request object for a self-generated certificate, enabling you to create a certificate directly without going through a registration or certification authority. It includes all of the methods defined by the IX509CertificateRequestCertificate interface and adds methods that enable initialization from certificate request templates.
Members
The IX509CertificateRequestCertificate2 interface inherits from IX509CertificateRequestCertificate. IX509CertificateRequestCertificate2 also has these types of members:
Methods
The IX509CertificateRequestCertificate2 interface has these methods.
| Method | Description |
|---|---|
| InitializeFromPrivateKeyTemplate |
Initializes the certificate request by using an IX509PrivateKey object and a certificate template. |
| InitializeFromTemplate |
Initializes the certificate request by using a template. |
Properties
The IX509CertificateRequestCertificate2 interface has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only |
Retrieves the certificate enrollment policy (CEP) server that contains the template used during initialization. | |
| Read-only |
Retrieves the certificate request template used during initialization. |
Requirements
|
Minimum supported client | Windows 7 |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 |
|
Header |
|
|
IDL |
|
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012