Re: Extract private key components from a RSA key

2001-08-18 Thread Dr S N Henson
The components are in the 'RSA' structure. They are all BIGNUM structures which can be manipulated and converted to various forms: check out the bn and rsa manual pages for more info. Steve. -- Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/ Personal Email: [EMAIL PROTECTED] Se

Extract private key components from a RSA key

2001-08-18 Thread Wallace, Wong Wang Fu
Hi, Can somebody tell what the api I can use to extract the private key component from RSA key is? There is a command : openssl rsa -inform PEM -in key.pem -text to display the private key components. However, what I need is a api to use in my application? Thanks, Best regards, Wall