DHPUBKEY_VER3 structure (wincrypt.h)

The DHPUBKEY_VER3 structure contains information specific to the particular public key contained in the key BLOB.

Syntax

typedef struct _PUBKEYVER3 {
  DWORD   magic;
  DWORD   bitlenP;
  DWORD   bitlenQ;
  DWORD   bitlenJ;
  DSSSEED DSSSeed;
} DHPUBKEY_VER3, DSSPUBKEY_VER3;

Members

magic

This must always be set to 0x33484400, the ASCII encoding of "DH3".

bitlenP

Number of bits in the DH key BLOB's prime, P.

bitlenQ

Number of bits in the DH key BLOB's prime, Q. If Q is not available, then this value should be 0.

bitlenJ

Number of bits in the DH key BLOB's prime, J. If J is not in the BLOB, then this value should be 0.

DSSSeed

Seed structure holding the seed and counter values used to generate the primes Q and P. If values in the DSSSEED structure are not available, then the counter element of the structure should be 0xFFFFFFFF.

Remarks

DSSPUBKEY_VER3 is an alias for this structure.

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

BLOBHEADER

DSSSEED