CERT_REQUEST_INFO

The CERT_REQUEST_INFO structure stores information in a certificate request. The subject, subject public key, and attribute blobs are the encoded representation of the information.

typedef struct _CERT_REQUEST_INFO {
    DWORD                 dwVersion;
    CERT_NAME_BLOB        Subject;
    CERT_PUBLIC_KEY_INFO  SubjectPublicKeyInfo;
    DWORD                 cAttribute;
    PCRYPT_ATTRIBUTE      rgAttribute;
} CERT_REQUEST_INFO,     *PCERT_REQUEST_INFO;
 

Members

dwVersion
The certificate's version number. Currently defined version numbers are shown in the following table.
Certificate version name Value
CERT_V1 0

Subject
The certificate subject's name (encoded form).
SubjectPublicKeyInfo
A structure that contains the public key (encoded form) and its algorithm.
cAttribute
The number of elements in the array rgAttribute.
rgAttribute
An array of structures, each holding CRYPT_ATTRIBUTE information about the certificate.

See Also

BLOB Structure, CERT_PUBLIC_KEY_INFO, CRYPT_ATTRIBUTE, CryptSignAndEncodeCertificate