Export (0) Print
Expand All
Expand Minimize

CERT_X942_DH_PARAMETERS structure

The CERT_X942_DH_PARAMETERS structure contains parameters associated with a Diffie-Hellman public key algorithm.

Syntax


typedef struct _CERT_X942_DH_PARAMETERS {
  CRYPT_UINT_BLOB                 p;
  CRYPT_UINT_BLOB                 g;
  CRYPT_UINT_BLOB                 q;
  CRYPT_UINT_BLOB                 j;
  PCERT_X942_DH_VALIDATION_PARAMS pValidationParams;
} CERT_DSS_PARAMETERS, *PCERT_DSS_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).

q

Prime Q.

A factor of p–1. The most significant bit of the most significant byte must be set to 1.

j

Optional subgroup factor.

pValidationParams

Optional pointer to a CERT_X942_DH_VALIDATION_PARAMS structure. If the cbData member of the q BLOB is zero, all of the members of pValidationParams must be zero.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft