IX509CertificateRequestCertificate2 interface (certenroll.h)
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.
Inheritance
The IX509CertificateRequestCertificate2 interface inherits from IX509CertificateRequestCertificate. IX509CertificateRequestCertificate2 also has these types of members:
Methods
The IX509CertificateRequestCertificate2 interface has these methods.
IX509CertificateRequestCertificate2::get_PolicyServer Retrieves the certificate enrollment policy (CEP) server that contains the template used during initialization. (IX509CertificateRequestCertificate2.get_PolicyServer) |
IX509CertificateRequestCertificate2::get_Template Retrieves the certificate request template used during initialization. (IX509CertificateRequestCertificate2.get_Template) |
IX509CertificateRequestCertificate2::InitializeFromPrivateKeyTemplate Initializes the certificate request by using an IX509PrivateKey object and a certificate template. (IX509CertificateRequestCertificate2.InitializeFromPrivateKeyTemplate) |
IX509CertificateRequestCertificate2::InitializeFromTemplate Initializes the certificate request by using a template. (IX509CertificateRequestCertificate2.InitializeFromTemplate) |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | certenroll.h |