While we are on the subject of Unicode, there are other areas of OpenSSL that need Unicode support added, in particular handling of paths and filenames on UTF16-based filesystems that require wchar_t* parameters. For instance, on Windows, OpenSSL cannot load certificate files/directories that have Unicode characters in them. On 'nix, this is not a problem for systems that use UTF8-based filesystems, which can be passed via char* parameters. The Indy library (http://www.indyproject.org) had to work around this issue recently by implementing its own versions of SSL_load_client_CA_file(), SSL_CTX_use_certificate_file (), SSL_CTX_use_PrivateKey_file(), and SSL_CTX_load_verify_locations() from scratch using a custom X509_LOOKUP_METHOD structure and support routines.
Ryan Pfeifle Sr. Programmer Voice Print International, Inc. [cid:vpi_logo.jpg@d2972794d43d4cff84bc6b418b2b40a9]<http://www.VPI-corp.com/> Immediate Results. Unmatched Value.<http://www.VPI-corp.com/Value>TM Tel: 1.805.389.5200 x5297 Fax: N/A Email: r...@vpi-corp.com Web: www.VPI-corp.com Experience the VPI Value Advantage<http://www.vpi-corp.com/ValueAdvantage>TM The information transmitted in this message is intended only for the addressee and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete this material from any computer. From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of sean wang Sent: Wednesday, April 07, 2010 10:06 AM To: openssl-users@openssl.org Subject: RE: does bio_get_mem_data handle unicode? ok my bad, the question was wrong. here is the real question I have, when I use the routine X509_NAME_print_ex, how can I convert the output to be in unicode format? the result I get currently is just char*. ________________________________ From: swan...@hotmail.com To: openssl-users@openssl.org Subject: does bio_get_mem_data handle unicode? Date: Wed, 7 Apr 2010 09:33:44 -0700 it appears that this function only handles char*, how should unicode strings be handled? thanks, sean ________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. See how.<http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2> ________________________________ The New Busy is not the old busy. Search, chat and e-mail from your inbox. Get started.<http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3>
<<inline: vpi_logo.jpg>>