RE: Getting public key out of an X509 object

2005-07-23 Thread Edward Chan
Title: RE: Getting public key out of an X509 object Before anybody blasts me, I just noticed a previous post on this subject :) EVP_PKEY *509_get_pubkey(cert) Looks like it will work.  I'll try that.  But my second question holds, is this the right way to do the sig verification,

Re: Getting public key out of an X509 object

2005-07-23 Thread Dr. Stephen Henson
On Sat, Jul 23, 2005, Edward Chan wrote: > Can someone point me to how I can get the public key out of an X509 > object? Basically, what I am trying to achieve is to sign something > using the EVP interface and either a DSA or RSA private key, where the > associated public key is in the cert. So

Getting public key out of an X509 object

2005-07-23 Thread Edward Chan
Title: Getting public key out of an X509 object Can someone point me to how I can get the public key out of an X509 object?  Basically, what I am trying to achieve is to sign something using the EVP interface and either a DSA or RSA private key, where the associated public key is in the cert