Pinca George wrote:
> 
> Hello World ,
> 
> I saved a RSA key in DER format , whan I parse it I get something like this
> :
[stuff deleted]

> 
> So the first integer After 0 is the modulus, then is the public exponent,
> and then ?
> Which is the private exponent I'll use for decrypting ?
> 

The private exponent is the one after that. Its PKCS#1 format (see the
PKCS standards on www.rsa.com) which you can use OpenSSL to print out
with:

openssl rsa -inform DER -noout -text

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to