Skip navigation links

Package de.sfuhrm.openssl4j

Binding classes from the Java JCA providers.

See: Description

Package de.sfuhrm.openssl4j Description

Binding classes from the Java JCA providers. The native OpenSSL library is being linked dynamically into the JVMs address space.

Usage

There are multiple ways of using the library.

Runtime configuration

You can create an instance of a message digest as follows if you are explicitly specifying the crypto provider OpenSSL4JProvider: MessageDigest md5 = new MessageDigest("MD5", new OpenSSL4JProvider());

JDK-wide configuration

You can specify the OpenSSL4JProvider to be used JDK-wide implicitly by the by changing your to have the OpenSSL4J provider in the first place: security.provider.1=OpenSSL4J security.provider.2=SUN security.provider.3=SunRsaSign security.provider.4=SunEC security.provider.5=SunJSSE security.provider.6=SunJCE security.provider.7=SunJGSS security.provider.8=SunSASL security.provider.9=XMLDSig security.provider.10=SunPCSC
Skip navigation links

Copyright © 2023. All rights reserved.