estructura CERT_X942_DH_PARAMETERS (wincrypt.h)

La estructura CERT_X942_DH_PARAMETERS contiene parámetros asociados a un algoritmo de clave pública de Diffie-Hellman.

Sintaxis

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_X942_DH_PARAMETERS, *PCERT_X942_DH_PARAMETERS;

Miembros

p

Módulo primo P. El bit más significativo del byte más significativo siempre debe establecerse en 1.

g

Generador G. Debe tener la misma longitud que p (debe rellenarse con 0x00 bytes si es menor).

q

Primera Q.

Factor de p-1. El bit más significativo del byte más significativo debe establecerse en 1.

j

Factor de subgrupo opcional.

pValidationParams

Puntero opcional a una estructura CERT_X942_DH_VALIDATION_PARAMS . Si el miembro cbData de q BLOB es cero, todos los miembros de pValidationParams deben ser cero.

Requisitos

   
Cliente mínimo compatible Windows XP [solo aplicaciones de escritorio]
Servidor mínimo compatible Windows Server 2003 [solo aplicaciones de escritorio]
Encabezado wincrypt.h