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
--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top