IX509CertificateRequestCertificate2 interface

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.

MethodDescription
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.

PropertyAccess typeDescription

PolicyServer

Read-only

Retrieves the certificate enrollment policy (CEP) server that contains the template used during initialization.

Template

Read-only

Retrieves the certificate request template used during initialization.

 

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Certenroll.h

Type library

CertEnroll.dll

See also

IX509CertificateRequestCertificate
IX509CertificateRequestPkcs10

 

 

Community Additions

ADD
Show:
© 2014 Microsoft