Class ScardHandle

java.lang.Object
java.lang.Number
com.sun.jna.IntegerType
de.gematik.smartcards.pcsc.lib.ScardHandle
All Implemented Interfaces:
com.sun.jna.NativeMapped, Serializable

public class ScardHandle extends com.sun.jna.IntegerType
The SCARDHANDLE type defined in pcsclite.h.in.

It represents a connection to a card.

Author:
gematik
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    final String
    Return string representation.

    Methods inherited from class com.sun.jna.IntegerType

    compare, compare, compare, doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNative

    Methods inherited from class java.lang.Number

    byteValue, shortValue

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ScardHandle

      public ScardHandle()
      Default constructor.

      Constructs a handle with value 0. Default-constructor.

      Note: According to the needs of NativeMappedConverter.defaultValue() the visibility of this constructor has to be "public".

  • Method Details

    • toString

      public final String toString()
      Return string representation.
      Overrides:
      toString in class com.sun.jna.IntegerType
      Returns:
      simple name of this class concatenated with the hex-value enclosed in curly brackets, e.g. "Handle{1a2b3c4d}"
      See Also:
      • IntegerType.toString()