This section describes how the CryptoAPI can be used to generate D-H keys, exchange D-H keys, and export a private D-H key.