IX509CertificateRequestCertificate::put_SignerCertificate method (certenroll.h)

The SignerCertificate property specifies or retrieves the ISignerCertificate object used to sign the certificate.

This property is read/write.

Syntax

HRESULT put_SignerCertificate(
  ISignerCertificate *pValue
);

Parameters

pValue

Return value

None

Remarks

You can set this property if you are not creating a self-signed certificate. If you do not specify the property value before calling Encode, the private key associated with the IX509CertificateRequestCertificate object is used to sign the certificate, and the name of the issuer is set, by default, to the subject name.

You must initialize the request object before calling this property. For more information, see any of the following methods:

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h
DLL CertEnroll.dll

See also

ISignerCertificate

IX509CertificateRequestCertificate