Hello,
I have a billing service that is trying to encrypt some information using Jasypt and Bouncy Castle. The billing service is exported as an osgi service through a bundle and referenced through osgi in my web module. The web module tries to take some billing information, and using the billing service, encrypt that information and save it.
When I try to enter the billing information now, I get a jce security provider exception:
Is there something that the jar needs to access to authenticate the provider? I am using the jasypt module and bouncy castle module provided by spring sourceCode:org.jasypt.exceptions.EncryptionInitializationException: java.lang.SecurityException: JCE cannot authenticate the provider BC org.jasypt.encryption.pbe.StandardPBEByteEncryptor.initialize(StandardPBEByteEncryptor.java:599) org.jasypt.encryption.pbe.StandardPBEStringEncryptor.initialize(StandardPBEStringEncryptor.java:488) org.jasypt.encryption.pbe.StandardPBEStringEncryptor.encrypt(StandardPBEStringEncryptor.java:541) java.lang.SecurityException: JCE cannot authenticate the provider BC javax.crypto.SunJCE_b.a(DashoA13*..) javax.crypto.SecretKeyFactory.getInstance(DashoA13*..) org.jasypt.encryption.pbe.StandardPBEByteEncryptor.initialize(StandardPBEByteEncryptor.java:558) org.jasypt.encryption.pbe.StandardPBEStringEncryptor.initialize(StandardPBEStringEncryptor.java:488) org.jasypt.encryption.pbe.StandardPBEStringEncryptor.encrypt(StandardPBEStringEncryptor.java:541) java.util.jar.JarException: Cannot parse file:/C:/p4/main/Web/extern/s2ap/dev-profiles/web/work/equinox-config/org.eclipse.osgi/bundles/96/1/bundlefile javax.crypto.SunJCE_c.a(DashoA13*..) javax.crypto.SunJCE_b.b(DashoA13*..) javax.crypto.SunJCE_b.a(DashoA13*..) javax.crypto.SunJCE_b.a(DashoA13*..) javax.crypto.SecretKeyFactory.getInstance(DashoA13*..) org.jasypt.encryption.pbe.StandardPBEByteEncryptor.initialize(StandardPBEByteEncryptor.java:558) org.jasypt.encryption.pbe.StandardPBEStringEncryptor.initialize(StandardPBEStringEncryptor.java:488) org.jasypt.encryption.pbe.StandardPBEStringEncryptor.encrypt(StandardPBEStringEncryptor.java:541)
com.springsource.org.bouncycastle.jce;resolution:= optional,com.trionworld.arc.org.jasypt.jasypt;reso lution:=optional


