You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2007/10/10 05:53:50 UTC
[jira] Commented: (HARMONY-4916) [classlib][security]Harmony fails
to get "MD5withRSA" signature under Turkish locale.
[ https://issues.apache.org/jira/browse/HARMONY-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533587 ]
Leo Li commented on HARMONY-4916:
---------------------------------
The problem here is that in Turkish Locale, some ASCII chars are converted as what are not expected. For example, the "MD5withRSA" is converted as "MD5W�0�2THRSA". Thus strings representing property/configuration/algorithm seems have to be manipulated as locale neutral.
Good luck!
Leo
> [classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.
> -------------------------------------------------------------------------------------
>
> Key: HARMONY-4916
> URL: https://issues.apache.org/jira/browse/HARMONY-4916
> Project: Harmony
> Issue Type: Bug
> Reporter: Leo Li
>
> Here is an example:
> // Enfore that providers information has been loaded.
> Signature.getInstance("DSA");
>
> Locale defaultLocale = Locale.getDefault();
> try {
> Locale.setDefault(new Locale("tr"));
> Signature.getInstance("MD5withRSA");
> } finally {
> Locale.setDefault(defaultLocale);
> }
> RI passes.
> Harmony fails.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.