CryptoAPI Key Import/Export

  • Thread starter Thread starter Fred
  • Start date Start date
F

Fred

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.
 
Fred said:
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
--
 
Back
Top