IX509SCEPEnrollment::CreateRetrieveCertificateMessage method (certenroll.h)

Retrieve a previously issued certificate.

Syntax

HRESULT CreateRetrieveCertificateMessage(
  [in]          X509CertificateEnrollmentContext Context,
  [in]          BSTR                             strIssuer,
  [in]          EncodingType                     IssuerEncoding,
  [in]          BSTR                             strSerialNumber,
  [in]          EncodingType                     SerialNumberEncoding,
  [in]          EncodingType                     Encoding,
  [out, retval] BSTR                             *pValue
);

Parameters

[in] Context

[in] strIssuer

ASN.1 encoded issuer name.

[in] IssuerEncoding

[in] strSerialNumber

[in] SerialNumberEncoding

[in] Encoding

[out, retval] 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