CERT_DH_PARAMETERS structure (wincrypt.h)

The CERT_DH_PARAMETERS structure contains parameters associated with a Diffie/Hellman public key algorithm.

Syntax

typedef struct _CERT_DH_PARAMETERS {
  CRYPT_UINT_BLOB p;
  CRYPT_UINT_BLOB g;
} CERT_DH_PARAMETERS, *PCERT_DH_PARAMETERS;

Members

p

Prime modulus P. The most significant bit of the most significant byte must always be set to 1.

g

Generator G. Must be the same length as p (must be padded with 0x00 bytes if it is less).

Requirements

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