Exponent-one key creation introduced

This commit is contained in:
2016-08-14 12:44:40 +02:00
parent 84e544c2f6
commit 25c886754d
2 changed files with 73 additions and 0 deletions

View File

@@ -825,6 +825,16 @@ namespace winstd
return false;
}
///
/// Creates Exponent-of-one key
///
/// \sa [How to export and import plain text session keys by using CryptoAPI](https://support.microsoft.com/en-us/kb/228786)
///
/// \param[in] hProv Handle of cryptographics provider to use
/// \param[in] dwKeySpec Key specification (`AT_KEYEXCHANGE` or `AT_SIGNATURE`)
///
bool create_exp1(_In_ HCRYPTPROV hProv, _In_ DWORD dwKeySpec);
protected:
///
/// Destroys the key.