-------- Original Message --------
| Subject: | My own ENGINE for NFast |
|---|---|
| Date: | Wed, 02 Oct 2002 15:54:20 +0200 |
| From: | Michiels Olivier <[EMAIL PROTECTED]> |
| Reply-To: | [EMAIL PROTECTED] |
| To: | Openssl Users <[EMAIL PROTECTED]> |
Hi, I'm writing my own NFast ENGINE because the chil interface do not provide me enough functionalities. Right I have implemented the two functions hwnfast_load_privkey and hwnfast_load_pubkey. I can load keys with those functions but I don't know how to fill the EVP_PKEY data structure. The reference to my private key is a pointer to a NFast specific structure (M_KeyID) and the public key is in a buffer. I've looked the code of the hw_ncipher but I think I can't use it like that. The keys are stored this way: I have two files (hash,blob) that contains the pirvate key protected by a logical token and the public key is store in a pem file. My question is, how do I create the two EVP_PKEY in my implementation.
Thank, Michiels Olivier ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
