Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Integrating Bouncy castle

Hi,

I am integrating a Oracle product with Java and need to sign the file using bouncy castle library.

I using bcpg-jdk15on-153.jar and bcprov-jdk15on-153.jar for signing.

I am getting the below error.

[2015-12-01T18:18:56.139+00:00] [mft_server2] [ERROR] [] [oracle.mft.COMMON] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.De

fault (self-tuning)'] [userId: <anonymous>] [ecid: 16a93a0d-a93c-4716-b408-2a35e8c34cdd-00000005,0:3161] [APP: mft-app] Unable to run the thr

eadWorkExecutor, action :startMFTServer[[

  1. java.lang.NoSuchMethodError: org.bouncycastle.asn1.ASN1Object.fromByteArray([B)Lorg/bouncycastle/asn1/ASN1Object;

        at org.bouncycastle.openssl.PEMReader.readKeyPair(Unknown Source)

        at org.bouncycastle.openssl.PEMReader.readObject(Unknown Source)

        at oracle.tip.es.util.ESUtil.readKeyPair(ESUtil.java:160)

        at oracle.tip.es.util.ESUtil.isValidHostKeyFile(ESUtil.java:135)


Can anyone help to resolve this issue.

Regards,

Abdul Salam

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 11 2016
Added on Dec 14 2015
0 comments
1,454 views