PRODUCTS

wolfCrypt JNI and JCE Provider

For Java developers that want to leverage the industry-leading wolfCrypt cryptography library implementation, wolfCrypt JNI provides a Java interface to the native C library.

wolfCrypt JNI includes both a thin JNI wrapper around the wolfCrypt C library, as well as a higher-level wolfCrypt JCE provider.

Download Now

Get the latest open source GPLv2 version now!

Version: 1.7.0
Release Date: 11/11/2024
View ChangeLog

Highlights

  • Industry-leading native crypto
  • Java JNI wrapper
  • Java JCE Provider
  • Tested against multiple JDK implementations

Flexibility

  • Allows applications to have control over their crypto
  • Gain portability of native wolfSSL and wolfCrypt libraries

Time-Saving

  • Eliminates need to write custom JNI
  • Based on industry-leading wolfSSL

 

Platform and Language Support

The native wolfSSL library is built for maximum portability and is generally very easy to compile on new platforms.  If your desired platform is not listed under the supported operating environments, please contact us.

Commercial Support

Support packages for wolfSSL and wolfCrypt JNI/JCE are available on an annual basis directly from wolfSSL.  With three different package options, you can compare them side-by-side and choose the package that best fits your specific needs.  Please see our Support Packages page for more details or contact us with any questions.

JDK Support

wolfCrypt JNI and JCE have been tested against multiple JDK implementations including Oracle JDK, OpenJDK, and Android’s JDK implementation.

Ships with Signed JAR Files

Oracle JDK requires JCE providers to be signed.  This signed JAR is then authenticated at runtime.  wolfCrypt JNI includes JAR files that have been pre-signed by wolfSSL to get you up and running quickly!

FIPS Support

Do you need FIPS 140-3? The wolfCrypt JNI and JCE Provider can sit on top of the FIPS 140-3 validated wolfCrypt library. Learn more about our FIPS 140-3 validation!

Algorithm Expansion

wolfCrypt JNI currently includes a subset of algorithm functionality found in the native wolfCrypt C library.  If you are interested in an algorithm not currently supported in the JNI/JCE wrapper, let us know at facts@wolfssl.com.

wolfSSL Training Course

Interested in getting trained by security experts on subjects related to wolfSSL and SSL/TLS?  Learn more.

JNI Wrapper Features

  • Hash Functions: MD5, SHA-1, SHA-256, SHA-384, SHA-512
  • Block Ciphers: AES (CBC/GCM), 3DES
  • Public Key Options:  RSA, ECDSA
  • HMAC MD5, SHA-1, SHA-256, SHA-384, SHA-512, Blake2b
  • Key Agreement: DH, ECDH
  • RSA and ECC Key Generation
  • PBKDF2
  • Hardware Cryptography Support

JCE Provider Features

  • java.security.MessageDigest: MD5, SHA-1, SHA-256, SHA-384, SHA-512
  • java.security.SecureRandom: DEFAULT, HashDRBG
  • javax.crypto.Cipher: AES/CBC/NoPadding, AES/CBC/PKCS5Padding, AES/GCM/NoPadding, DESede/CBC/NoPadding, RSA/ECB/PKCS1Padding
  • javax.crypto.Mac: HmacMD5, HmacSHA1, HmacSHA256, HmacSHA384, HmacSHA512
  • java.security.Signature: MD5withRSA, SHA1withRSA, SHA256withRSA, SHA384withRSA, SHA512withRSA, SHA1withECDSA, SHA256withECDSA, SHA384withECDSA, SHA512withECDSA
  • javax.crypto.KeyAgreement: DiffieHellman, DH, ECDH
  • java.security.KeyPairGenerator: RSA, EC, DH
  • java.security.cert.CertPathValidator: PKIX
  • javax.crypto.SecretKeyFactory: PBKDF2WithHmacSHA1, PBKDF2WithHmacSHA224, PBKDF2WithHmacSHA256, PBKDF2WithHmacSHA384, PBKDF2WithHmacSHA512, PBKDF2WithHmacSHA3-224, PBKDF2WithHmacSHA3-256, PBKDF2WithHmacSHA3-384, PBKDF2WithHmacSHA3-512

Supported Chipmakers (wolfCrypt)

Supported Operating Environments

  • Linux, Mac OS X, Windows (Visual Studio)
  • If you would like to test wolfSSL on another environment, let us know and we’ll be happy to support you.

Licensing and Ordering:

wolfCrypt JNI/JCE are dual licensed under both the GPLv2 and commercial licensing. For more information, please see the following links.