public static extern SECURITY_STATUS NCryptSecretAgreement( SafeKeyHandle hPrivKey, SafeKeyHandle hPubKey, out SafeSecretHandle phSecret, NCryptSecretAgreementFlags dwFlags = NCryptSecretAgreementFlags.None);
public static extern SECURITY_STATUS NCryptSecretAgreement( SafeKeyHandle hPrivKey, SafeKeyHandle hPubKey, out SafeSecretHandle phSecret, NCryptSecretAgreementFlags dwFlags = NCryptSecretAgreementFlags.None);