CMS_DH_KEY_INFO structure (wincrypt.h)
The CMS_DH_KEY_INFO structure is used with the KP_CMS_DH_KEY_INFO parameter in the CryptSetKeyParam function to contain Diffie-Hellman key information.
Syntax
typedef struct _CMS_DH_KEY_INFO {
DWORD dwVersion;
ALG_ID Algid;
LPSTR pszContentEncObjId;
CRYPT_DATA_BLOB PubInfo;
void *pReserved;
} CMS_DH_KEY_INFO, *PCMS_DH_KEY_INFO;
Members
dwVersion
The size, in bytes, of this structure.
Algid
One of the ALG_ID values that identifies the algorithm for the key to be converted.
pszContentEncObjId
The address of a null-terminated ANSI string that contains the object identifier (OID) of the content encryption algorithm.
PubInfo
A CRYPT_DATA_BLOB structure that contains additional public information. This member is optional and the cbData member of this structure can be zero if this is not needed.
pReserved
Reserved for future use and must be NULL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | wincrypt.h |