DHPUBKEY

The DHPUBKEY structure contains information specific to the particular Diffie-Hellman public key contained in the key blob.

typdef struct _PUBKEY {
    DWORD magic;
    DWORD bitlen;
} DHPUBKEY;
 

Members

magic
This must always be set to "DH1" (0x31484400) when used for public-key blobs and to "DH2" (0x32484400) when used for private-key blobs.

Notice that the hex values are just an ASCII encoding of "DH1" and "DH2."

bitlen
Number of bits in the prime modulus, P.

See Also

BLOBHEADER