Re: Got exception when new BouncyCastleJsseProvider("FIPS:BCFIPS");

David Hook <dgh-rTAZ0PM/[email protected]> Wed, 28 Aug 2019 20:38:28 +1000
Newsgroups gmane.comp.encryption.bouncy-castle.devel
Message-ID <[email protected]>
It's not clear that the BCFIPS provider is installed. Which provider are
you using "BC" or "BCFIPS"?

Regards,

David
On 28/8/19 7:23 am, Jeff Huang wrote:
> Hello,
>
> I downloaded latest fips jars from BC. After compiled code and run it,
> I got the following exception:
>
> Provider provider1 = new BouncyCastleJsseProvider("FIPS:BCFIPS");
>
> Exception in thread "main" java.lang.IllegalArgumentException: unable
> to find Provider/TlsCrypto class: BCFIPS
> at
> org.bouncycastle.jsse.provider.BouncyCastleJsseProvider.createCryptoProvider(BouncyCastleJsseProvider.java:130)
>
>
> Jeff.