CERT_REQUEST_INFO structure (wincrypt.h)

The CERT_REQUEST_INFO structure contains information for a certificate request. The subject, subject public key, and attribute BLOBs are encoded.

Syntax

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. Defined version number is shown in the following table.

Value Meaning
CERT_V1
version 1

Subject

A CERT_NAME_BLOB structure that contains the certificate subject's encoded name.

SubjectPublicKeyInfo

CERT_PUBLIC_KEY_INFO structure containing the encoded public key and its algorithm.

cAttribute

Number of elements in the rgAttribute array.

rgAttribute

A pointer to an array of CRYPT_ATTRIBUTE structures, each holding attribute information about the certificate.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header wincrypt.h

See also

CERT_PUBLIC_KEY_INFO

CRYPT_ATTRIBUTE

CRYPT_INTEGER_BLOB

CryptSignAndEncodeCertificate