CryptoAPI Key Import/Export

fred

Distinguished
Mar 30, 2004
916
0
18,980
Archived from groups: microsoft.public.win2000.security (More info?)

Hi,

I am using the Microsoft Enchanced CSP and I am trying to
encrypt using symmetric algorithms, but without using
certificates. For exchanging session keys, I want to use a
symmetric key. I take it I would have to export the
session key as a SYMMETRICWRAPKEYBLOB, passing a handle to
this symmetric key. If this is the case, how do I export
and then import the symmetric key in the first place?

Thanks,
Fred.
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.security (More info?)

"Fred" <fred@discussions.microsoft.com> wrote in message news:1f0301c544a5$094c5fe0$a401280a@phx.gbl...
> Hi,
>
> I am using the Microsoft Enchanced CSP and I am trying to
> encrypt using symmetric algorithms, but without using
> certificates. For exchanging session keys, I want to use a
> symmetric key. I take it I would have to export the
> session key as a SYMMETRICWRAPKEYBLOB, passing a handle to
> this symmetric key. If this is the case, how do I export
> and then import the symmetric key in the first place?
>
> Thanks,
> Fred.
>

Wrong group for this subject. Try the archives of these groups
microsoft.public.platformsdk.security
microsoft.public.security.crypto

you will find plenty of CryptoAPI discussion and code.

regards,
tlviewer
--
 

TRENDING THREADS