X509_KEYGEN_REQUEST_TO_BE_SIGNED

When X509_KEYGEN_REQUEST_TO_BE_SIGNED is used for the lpszStructType with CryptEncodeObject, CryptEncodeObjectEx, CryptDecodeObject, or CryptDecodeObjectEx the following details apply.

Object Identifier String

N/A

Corresponding Data Structure being encoded or decoded

pvStructInfo points to CERT_KEYGEN_REQUEST_INFO structure.

Additional Details

For CryptDecodeObject and CryptDecodeObjectEx the pbEncoded is the "to be signed" plus its signature (output of a X509_CERT CryptEncodeObject).

For CryptEncodeObject and CryptEncodeObjectEx the pbEncoded is just the "to be signed".