CPSetKeyParam Diffie-Hellman/Schannel Extensions

Several new parameters have been defined for use with CPSetKeyParam.

The following new parameters are only valid when used with a master key and may be set multiple times on the same master key. If set multiple times, discard the old value and retain the new value.

The following parameters have been added and can be passed in the dwParam parameter.

KP_SCHANNEL_ALG (Diffie-Hellman)

KP_CLIENT_RANDOM (Diffie-Hellman)

KP_SERVER_RANDOM (Diffie-Hellman)

KP_ALGID (Diffie-Hellman)

See CPSetKeyParam.