One other issue though the base64 encoded string contains new line
character at the end.
is there a way through the api to not include it.
It is characteristic of openssl to insert linebreaks in both base64
and PEM encodings --- and to require them when it decodes data. If
for some reason you don't want the newlines you may have to delete
them all, not just the one at the end. Ditto for PEM data. Remember
thought that if want to decode either with openssl you'll have to put
the newlines back.
Anyone consuming PEM or base64 will be more interoperative if they
handle encoded data both with and without linebreaks.
Jim
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]