IX509SCEPEnrollment::CreateRetrieveCertificateMessage method (certenroll.h)

Retrieve a previously issued certificate.

Syntax

HRESULT CreateRetrieveCertificateMessage(
  X509CertificateEnrollmentContext Context,
  BSTR                             strIssuer,
  EncodingType                     IssuerEncoding,
  BSTR                             strSerialNumber,
  EncodingType                     SerialNumberEncoding,
  EncodingType                     Encoding,
  BSTR                             *pValue
);

Parameters

Context

strIssuer

ASN.1 encoded issuer name.

IssuerEncoding

strSerialNumber

SerialNumberEncoding

Encoding

pValue

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

You must call the InitializeForPending method before calling this method.

Requirements

   
Target Platform Windows
Header certenroll.h
DLL Certenroll.dll

See also

IX509SCEPEnrollment