Package com.wolfssl.wolfcrypt
Class FeatureDetect
java.lang.Object
com.wolfssl.wolfcrypt.FeatureDetect
public class FeatureDetect
extends java.lang.Object
Native feature detection class
Used to expose native preprocessor values to Java
- Version:
- 1.0, January 2020
- Author:
- wolfSSL
-
Constructor Summary
Constructors Constructor Description FeatureDetect()
-
Method Summary
Modifier and Type Method Description static boolean
Md5Enabled()
Tests if MD5 is compiled into the native wolfSSL library.static boolean
Sha256Enabled()
Tests if SHA-256 is compiled into the native wolfSSL library.static boolean
Sha384Enabled()
Tests if SHA-384 is compiled into the native wolfSSL library.static boolean
Sha512Enabled()
Tests if SHA-512 is compiled into the native wolfSSL library.static boolean
ShaEnabled()
Tests if SHA-1 is compiled into the native wolfSSL library.
-
Constructor Details
-
FeatureDetect
public FeatureDetect()
-
-
Method Details
-
Md5Enabled
public static boolean Md5Enabled()Tests if MD5 is compiled into the native wolfSSL library.- Returns:
- true if enabled, otherwise false if not compiled in.
-
ShaEnabled
public static boolean ShaEnabled()Tests if SHA-1 is compiled into the native wolfSSL library.- Returns:
- true if enabled, otherwise false if not compiled in.
-
Sha256Enabled
public static boolean Sha256Enabled()Tests if SHA-256 is compiled into the native wolfSSL library.- Returns:
- true if enabled, otherwise false if not compiled in.
-
Sha384Enabled
public static boolean Sha384Enabled()Tests if SHA-384 is compiled into the native wolfSSL library.- Returns:
- true if enabled, otherwise false if not compiled in.
-
Sha512Enabled
public static boolean Sha512Enabled()Tests if SHA-512 is compiled into the native wolfSSL library.- Returns:
- true if enabled, otherwise false if not compiled in.
-