Class JScdLib

java.lang.Object
com.itemis.jscdlib.JScdLib

public final class JScdLib extends Object
Entrypoint for the JScdLib.
  • Method Details

    • constructSCardHandle

      public static SCardLibHandle constructSCardHandle()

      Create a new handle. The handle will use the

      invalid reference
      ScardLibNative
      implementation appropriate for the current OS.

      Be aware: The handle does hold resources and should therefore be closed when not needed anymore in order to prevent resource leaks.

      Returns:
      A new instance of SCardLibHandle.
    • constructScDaemonHandle

      public static ScDaemonHandle constructScDaemonHandle()

      Create a new handle. The handle will use the native implementation appropriate for the current OS.

      Be aware: The handle does hold resources and should therefore be closed when not needed anymore in order to prevent resource leaks.

      Returns:
      A new instance of ScDaemonHandle.