CERT_KEYGEN_REQUEST_INFO structure (wincrypt.h)

The CERT_KEYGEN_REQUEST_INFO structure contains information stored in the Netscape key generation request. The subject and subject public key BLOBs are encoded.

Syntax

typedef struct _CERT_KEYGEN_REQUEST_INFO {
  DWORD                dwVersion;
  CERT_PUBLIC_KEY_INFO SubjectPublicKeyInfo;
  LPWSTR               pwszChallengeString;
} CERT_KEYGEN_REQUEST_INFO, *PCERT_KEYGEN_REQUEST_INFO;

Members

dwVersion

The version number of the certificate. CERT_KEYGEN_REQUEST_V1 (0) is the only defined version number.

SubjectPublicKeyInfo

A CERT_PUBLIC_KEY_INFO structure that contains the encoded public key and public key algorithm.

pwszChallengeString

A random printable string. This string is used by the server to ensure that the key that it is certifying matches the client on the page.

Requirements

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

See also

CERT_REQUEST_INFO