Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IX509CertificateRequestPkcs10::get_RawDataToBeSigned method (certenroll.h)

The RawDataToBeSigned property retrieves the unsigned certificate request created by the Encode method. The request is contained in a byte array encoded by using Distinguished Encoding Rules (DER) as defined by the Abstract Syntax Notation One (ASN.1) standard. The DER-encoded byte array is represented by a string that is either a pure binary sequence or is Unicode encoded.

This property is read-only.

Syntax

HRESULT get_RawDataToBeSigned(
 EncodingType Encoding,
 BSTR *pValue
);

Parameters

Encoding

pValue

Return value

None

Remarks

The Encode method creates a DER-encoded and signed certificate request, but it also internally saves the unsigned request as a byte array. You can use the RawDataToBeSigned property to retrieve that binary data as an Unicode-encoded string.

You must initialize the IX509CertificateRequestPkcs10 object and call Encode 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

IX509CertificateRequestPkcs10


Feedback

Was this page helpful?

Additional resources