ISignerCertificate::get_Certificate method (certenroll.h)

The Certificate property retrieves a Distinguished Encoding Rules (DER) encoded byte array that contains the certificate. The DER-encoded byte array is represented by a Unicode-encoded string.

This property is read-only.

Syntax

HRESULT get_Certificate(
  EncodingType Encoding,
  BSTR         *pValue
);

Parameters

Encoding

pValue

Return value

None

Remarks

Call the Initialize method to specify the certificate. You can also call the following properties to retrieve information about the signing certificate object:

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