Hi!

How to load ECDSA<ECP>::PublicKey from X509 certificate in Crypto++?

To do it,  using Openssl is to easy:

 X509 *x = NULL;
EVP_PKEY *key = NULL;
EC_KEY *ec = NULL; 

d2i_X509(&x, (const unsigned char**)&pCert->pbCertEncoded,
pCert->cbCertEncoded);
key = X509_PUBKEY_get(x->cert_info->key);
ec = EVP_PKEY_get1_EC_KEY(key);


-- 
View this message in context: 
http://www.nabble.com/How-to-load-ECDSA%3CECP%3E%3A%3APublicKey-from-X509-certificate---tp14500353p14500353.html
Sent from the Crypto++ Users mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to