Re: How to convert RSA public key XML format to PEM or ASCII format

2010-09-19 Thread Mounir IDRASSI
DE? > I only have UNIX command line and Windows available. > > Regards > Vivek Panikulam > > > > > > From: Mounir IDRASSI > To: openssl-users@openssl.org > Sent: Fri, September 17, 2010 10:07:10 PM > Subject: Re: How to convert

Re: How to convert RSA public key XML format to PEM or ASCII format

2010-09-18 Thread Mounir IDRASSI
DE? > I only have UNIX command line and Windows available. > > Regards > Vivek Panikulam > > > > > > From: Mounir IDRASSI > To: openssl-users@openssl.org > Sent: Fri, September 17, 2010 10:07:10 PM > Subject: Re: How to convert

Re: How to convert RSA public key XML format to PEM or ASCII format

2010-09-18 Thread Panikulam Vivek
Subject: Re: How to convert RSA public key XML format to PEM or ASCII format Hi, To perform the conversion, use your favorite XML library to extract the BASE64 values in the Modulus and Exponent nodes, then create an EVP_PKEY structure from these using the functions I'm pasting below. From

Re: How to convert RSA public key XML format to PEM or ASCII format

2010-09-17 Thread Mounir IDRASSI
Hi, To perform the conversion, use your favorite XML library to extract the BASE64 values in the Modulus and Exponent nodes, then create an EVP_PKEY structure from these using the functions I'm pasting below. From here, call PEM_write_PUBKEY to create a PEM file that will contain your RSA public k