How would I extract the public and private key and put them into seperate blobs? So after I use
if (!CryptGenKey(hProv, CALG_RC4, CRYPT_EXPORTABLE, &hSessionKey))
It puts the Keys into SessionKey, but what if I want to extract both the public and private key from hSessionKey, how can i do this?