You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @phax
I saw that you add manually provider org.bouncycastle.jce.provider.BouncyCastleProvider or org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider in BCCryptoHelper class.
I have a question.
Is there an option to use the jca/jce provider via the provider list loaded in the java run time and not specfiying the providerName as
BC/BCFIPS
I wonder if we can use all encryption/sign using Sun Provider and not BC provider.
If we won't add the BC provider hard coded we can use the BC classes with default provider used by the jvm.ONly need to find the relevant provider from the provider list when application is running.
Thanks,
Itay
The text was updated successfully, but these errors were encountered:
@ihudedi the BouncyCastle providers are just set as defaults.
Via BCCryptoHelper.setSecurityProviderName(String) you can set a different security provider to use.
So ((BCCryptoHelper) AS2Helper.getCryptoHelper ()).setSecurityProviderName (...) should do the trick for you.
Please try this and let me know if it works for you. Thanks
Hi @phax
I saw that you add manually provider org.bouncycastle.jce.provider.BouncyCastleProvider or org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider in BCCryptoHelper class.
I have a question.
Is there an option to use the jca/jce provider via the provider list loaded in the java run time and not specfiying the providerName as
BC/BCFIPS
I wonder if we can use all encryption/sign using Sun Provider and not BC provider.
If we won't add the BC provider hard coded we can use the BC classes with default provider used by the jvm.ONly need to find the relevant provider from the provider list when application is running.
Thanks,
Itay
The text was updated successfully, but these errors were encountered: