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] Created: (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 Thu, 04 Jan 2007 09:05:27 GMT
[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
            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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message