|
-
July 18th, 2005, 03:19 AM
#1
using CryptSetKeyParam()
Hi!
I wanna set the key length for RSA signature
the code is something like
//aquire the handle of key container
(CryptAcquireContext(&hCryptProv,NULL,MS_ENHANCED_PROV, PROV_RSA_FULL, 0))
--------
--------
//then create handle of signature key pair
if (!CryptGetUserKey(hCryptProv, AT_SIGNATURE, &hKey))
-------
------now i wana set the key pair length which i believe can b done through
CryptSetKeyParam()....but im not able to do so.Any ideas???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|