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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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.