Are java cryptography (JCE) extensions bundled with the JRE?

I need to be sure that jce is available even in the JRE environment out of the box. After furious googling, I was able to verify that jce comes bundled with the JDK after Java 1.4. Does jce come with a simple JRE boot?

Could you please indicate where you found the information, so I can check myself and find out what I missed?

0
source share
3 answers

yes, jce is included in all versions of java these days, a relevant announcement .

+3
source

Have you looked at $JRE_HOME/lib/jce.jar ?

  ~$ jar tvf jce.jar 6399 Thu Jul 27 16:03:42 CEST 2006 META-INF/MANIFEST.MF 6305 Thu Jul 27 16:03:42 CEST 2006 META-INF/JCE_RSA.SF 2015 Thu Jul 27 16:03:42 CEST 2006 META-INF/JCE_RSA.RSA 0 Thu Jul 27 16:03:26 CEST 2006 META-INF/ 0 Thu Jul 27 16:03:24 CEST 2006 javax/ 0 Thu Jul 27 16:03:24 CEST 2006 javax/crypto/ 0 Thu Jul 27 16:03:24 CEST 2006 javax/crypto/interfaces/ 210 Thu Jul 27 16:03:24 CEST 2006 javax/crypto/interfaces/DHKey.class 330 Thu Jul 27 16:03:24 CEST 2006 javax/crypto/interfaces/DHPublicKey.class ...etc 

Note that cryptographic policy files of unlimited strength are (still) a separate download .

Greetings

+3
source

As already mentioned, JCE comes with all versions of Java.

However, if you want to implement certain key sizes, keep in mind that you will need Java Unlimited Strength Policy files. This is due to US key size laws.

+1
source

Source: https://habr.com/ru/post/1499709/


All Articles