Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JCE in AdoptOpenJDK 11

Tags:

Java Cryptography Extension (JCE) can be found here, but that page says

Current versions of the JDK do not require these policy files. They are provided here for use with older version of the JDK.

JDK 9 and later ship with, and use by default, the unlimited policy files.

Does this apply to AdoptOpenJDK 11 as well? Or is this restricted to Oracle's JDKs? How do I know they are available?

like image 552
crusy Avatar asked Jul 31 '19 13:07

crusy


People also ask

Does OpenJDK include JCE?

The OpenJDK project contains a default implementation provider - the Java Cryptography Extension (JCE) - in the jdk.crypto.ec .

Is JCE part of JDK?

The Java Cryptography Extension enables applications to use stronger versions of standard algorithms. Current versions of the JDK do not require these policy files. They are provided here for use with older version of the JDK. JDK 9 and later offer the stronger cryptographic algorithms by default.

What is a JCE file?

The Java™ Cryptography Extension (JCE) is a set of Java packages from IBM® that provides a framework and implementations for encryption, key generation and key agreement, and Message Authentication Code (MAC) algorithms.


1 Answers

According to this guide:

I’ve been asked whether Java’s Cryptography/Security extension (JCE) is supported in OpenJDK. The answer is yes it is. As a note, in OpenJDK as of 8b161, unlimited cryptography policy is enabled by default (previously you had to download the unlimited strength files manually from Oracle).

like image 144
Jon Avatar answered Sep 28 '22 11:09

Jon