ICertRequest3 interface (certcli.h)

The ICertRequest3 interface is one of three interfaces that provide communications between a client or intermediary application and Certificate Services.

Client and intermediary applications can call the ICertRequest3 methods to perform the following tasks:

  • Submit a certificate request.
  • Retrieve the disposition, last status, and identifier of a request.
  • Retrieve the certificate issued for the request.
  • Retrieve pending certificates for previous requests.
  • Retrieve the certification authority (CA) certificate for the Certificate Services server.
  • Retrieve the CA property value, display name, and any flags associated with the property.
  • Retrieve the cached response data returned by the server.
  • Retrieve error message text for an HRESULT error code.

ICertRequest3 is defined in Certcli.h. When you create your program, however, use Certsrv.h as the include file. Certcli.dll provides the ICertRequest3 interface. The type information for this interface is also in Certcli.dll, which is shipped with the Platform Software Development Kit (SDK).

Certificate Services interfaces support both apartment-threading and free-threading models. For better throughput, free threading is recommended.

Inheritance

The ICertRequest3 interface inherits from ICertRequest2, ICertRequest, and IDispatch. ICertRequest3 also has these types of members:

Methods

The ICertRequest3 interface has these methods.

 
ICertRequest3::GetIssuedCertificate2

Retrieves a certificate's disposition by specifying either the request ID string or the certificate serial number.
ICertRequest3::GetRefreshPolicy

Returns a value that indicates whether a client's cached certificate enrollment policy is out of date and needs to be refreshed.
ICertRequest3::GetRequestIdString

Gets the current internal request number, formatted as a string, for the request and subsequent certificate.
ICertRequest3::SetCredential

Sets the credential used to contact the Certificate Enrollment Web Service.

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 certcli.h (include Certsrv.h)

See also

ICertRequest

ICertRequest2

IDispatch