RE: Extracting Public Key from .CER file

2007-02-13 Thread kamalakar.mergu

Usually in RSA cryptography, 

when you append private key to the Manufacturer's certificate becomes
public key.

 

Find the attached files for reference

 

 

 

Regards

Kamal



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ravi Bhatt
Sent: Tuesday, February 13, 2007 7:24 AM
To: openssl-users@openssl.org
Subject: Re: Extracting Public Key from .CER file

 

Hello,
 I want to use the Open SSL function call to extract the Public Key from
the Manufacturers X.509 Certificate, which is in the .CER format. Could
someone please advise me?

Thanks  Regards

  



Need Mail bonding?
Go to the Yahoo! Mail QA
http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTE
wOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=asks
id=396546091  for great tips from Yahoo! Answers
http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTE
wOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=asks
id=396546091  users.




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

cacert_smime.pem
Description: cacert_smime.pem


publickey_smime.pem
Description: publickey_smime.pem


privkey_smime.pem
Description: privkey_smime.pem


Re: Extracting Public Key from .CER file

2007-02-13 Thread Christian Hohnstaedt
On Mon, Feb 12, 2007 at 05:53:56PM -0800, Ravi Bhatt wrote:
 Hello,
  I want to use the Open SSL function call to extract the Public Key from the 
 Manufacturers X.509 Certificate, which is in the .CER format. Could someone 
 please advise me?

fp = fopen();
c = PEM_read_X509(fp, NULL, NULL, NULL);
k = X509_get_pubkey(c);


Christian

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: Extracting Public Key from .CER file

2007-02-12 Thread Ravi Bhatt
Hello,
 I want to use the Open SSL function call to extract the Public Key from the 
Manufacturers X.509 Certificate, which is in the .CER format. Could someone 
please advise me?

Thanks  Regards

 
-
Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.