Modify public key in a key container
From: Fab (fab_00_2002_at_msn.com)
Date: 12/29/04
- Next message: Valery Pryamikov: "Ann: New version of RunAsAdmin"
- Previous message: Valery Pryamikov: "Re: CryptoAPI and private key /not public/ encryption with CryptEncrypt - can not use CryptHash* functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 29 Dec 2004 08:24:16 -0800
Hi,
I use the certification under Windows CE and I want to certify an
appli with the Windows Crypt API. I created a key container and a
signature associated with CryptAcquireContext and CryptGenKey. The
problem is that I want to use my own key and not a random key. I found
an issue which is using CryptImportKey but the public key generated is
not persistent and if I call CryptGetUserKey( hCryptProv,
AT_SIGNATURE, &hKey) after, my public key is lost. Anyone knows how to
modify a public key or import a persistent public key in a key
container? Or how to create a key container with a personalized key?
Thanks in advance
Best regards
Fabien
- Next message: Valery Pryamikov: "Ann: New version of RunAsAdmin"
- Previous message: Valery Pryamikov: "Re: CryptoAPI and private key /not public/ encryption with CryptEncrypt - can not use CryptHash* functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|