* loody wrote on Fri, May 22, 2009 at 21:51 +0800: > 2009/5/22 David Schwartz <dav...@webmaster.com>: > > > >> Dear all: > >> at the end of letter, I append the the public key I excerpted from my > >> certificate by openssl x509. > >> Since the key is 2048 bits, 256 bytes, I find the length of > >> 00:af:......14:f7 > >> is 257 bytes. > > > > Right. In BER/DER form, without the leading 00 byte, the high > > bit is set and the number is negative. > Is it possible for RSA public key to be negative? > As far as I know, the numbers used in RSA should by positive, right? > so my certificate may be wrong?
Your value starts with 00, so it is not negative, which was the initial question I think :) oki, Steffen About Ingenico: Ingenico is the world’s leading provider of payment solutions, with over 15 million terminals deployed across the globe. Delivering the very latest secure electronic payment technologies, transaction management and the widest range of value added services, Ingenico is shaping the future direction of the payment solutions market. Leveraging on its global presence and local expertise, Ingenico is reinforcing its leadership by taking banks and businesses beyond payment through offering comprehensive solutions, a true source of differentiation and new revenues streams. This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. P Please consider the environment before printing this e-mail ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org