Hello,
> I need to know the content of RSA key files (private and public both).
>
> ----is there any header that we write in these files?
>
> ----what all parameters(n,e,d,p,q) are written in each file?

RSA key is encoded with ASN.1.
Look at PKCS#1 specification for details.

Best regards,
--
Marek Marcola

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org