Is it possible to install Bouncycastle provider programmaticly without modifying security policy file?
+2
A:
sure:
java.security.Security.addProvider(new BouncyCastleProvider());
mancereus
2009-08-17 11:41:43
tried that that throws an exception. Docs for bouncy castle says i need to edit the security.policy file. I was wondering to do it programaticly.
Hamza Yerlikaya
2009-08-17 11:46:00
nvm thanks i forgot to import java.security.Security should get some sleep.
Hamza Yerlikaya
2009-08-17 11:48:22