Hi, all:
    I found that Harmony will throw exception to load class listed in
security provider, here is a testcase:
        Class cls = Class.forName("
org.bouncycastle.jce.provider.BouncyCastleProvider");
    If I remove it from the security provider list, it will become ok.
    After digging into it, I found that it is related with bcprov.jar has a
certificate signed by the signature provided by itself.
    I think there are two resolutions:
    (1) Give a "SHA1withDSA" signature implementation in bootstrap security
provider.
    (2) Remove the sign in bcprov.jar.(And put it into the boot directory,
since I found that those in ext directory are usually signed, for example
RI.)
    It is reported as HARMONY-2940.


--
Leo Li
China Software Development Lab, IBM

Reply via email to