DHPRIVKEY_VER3 structure (wincrypt.h)

The DHPRIVKEY_VER3 structure contains information specific to the particular private key contained in the key BLOB.

Syntax

typedef struct _PRIVKEYVER3 {
  DWORD   magic;
  DWORD   bitlenP;
  DWORD   bitlenQ;
  DWORD   bitlenJ;
  DWORD   bitlenX;
  DSSSEED DSSSeed;
} DHPRIVKEY_VER3, DSSPRIVKEY_VER3;

Members

magic

This must always be set to 0x34484400, the ASCII encoding of "DH4".

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.

bitlenX

Number of bits in the DH key BLOB private exponent, X.

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

DSSPRIVKEY_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