CryptoAPI, public/private keys - where is the public one?

From: Jeffrey Freeman (CTO@syncleus.com)
Date: 03/31/03


From: "Jeffrey Freeman" <CTO@syncleus.com>
Date: Sun, 30 Mar 2003 23:39:16 GMT


Im trying to figure out how to use the CryptoAPI. I want to generate a
private public key pair. However CryptGenKey only returns a single handle to
a key even when a key pair is requested via AT_EXCHANGEKEY. Can someone
please help me to figure out how i can get two seperate keys, one that is
private and one that is public (asymmetrical). I would apreciate any help
anyone could provide. If possible please reply to me at
JEffrey.P.freeman@verizon.net Im not sure if i will see your reply in the
newsgroup or not.



Relevant Pages

  • CryptoAPI, public/private keys - where is the public one?
    ... Im trying to figure out how to use the CryptoAPI. ... private public key pair. ... However CryptGenKey only returns a single handle to ... a key even when a key pair is requested via AT_EXCHANGEKEY. ...
    (microsoft.public.security)
  • Re: CryptoAPI, public/private keys - where is the public one?
    ... Please see my reply in the microsoft.public.security newsgroup for the same ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > private public key pair. ... > a key even when a key pair is requested via AT_EXCHANGEKEY. ...
    (microsoft.public.win2000.security)
  • Re: Modify public key in a key container
    ... > Did you specify the CRYPT_EXPORTABLE flag when generated the key pair (using ... > CryptGenKey)? ... you will not be able to export the private key. ...
    (microsoft.public.platformsdk.security)