harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-2940) [classlib][security]Class.forName("org.bouncycastle.jce.provider.BouncyCastleProvider"); fails while org.bouncycastle.jce.provider.BouncyCastleProvider is added as a security provider
Date Tue, 20 Mar 2007 23:57:32 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Leo Li closed HARMONY-2940.
---------------------------

    Resolution: Fixed

Fixed in HARMONY-3332.

> [classlib][security]Class.forName("org.bouncycastle.jce.provider.BouncyCastleProvider");
fails while org.bouncycastle.jce.provider.BouncyCastleProvider is added as a security provider
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2940
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2940
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>            Priority: Critical
>
> Here is a testcase:
> public void test()
> {
>     Class cls = Class.forName("org.bouncycastle.jce.provider.BouncyCastleProvider");
> }
> Harmony fails.
> After digging into it, I found that it is related with bcprov.jar has a certificate signed
by the signature provided by itself.  I  tried to remove it signature and move it into the
boot directory and it works.
> So I recommend to put an unsigned bcprov.jar into the boot directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message