Package org.jopensignature.sign
Interface SigningDeviceInfo
-
- All Known Implementing Classes:
NativeSigningDeviceInfo
,SoHeadlessSigningDeviceInfo
,SoSigningDeviceInfo
public interface SigningDeviceInfo
GeneralSigningDevice
information which may be used in user interfaces.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDescription()
Version
getFirmwareVersion()
Returns the firmware version of theSigningDevice
if applicable ornull
otherwise.java.awt.image.BufferedImage
getImage()
Returns a UI-usable Image ornull
.java.lang.String
getName()
Returns a name for theSigningDevice
that may be used in a user interface.java.lang.String
getSerialNumber()
Returns a serial number for theSigningDevice
ornull
if not applicable.Vendor
getVendor()
-
-
-
Method Detail
-
getDescription
java.lang.String getDescription()
-
getSerialNumber
java.lang.String getSerialNumber()
Returns a serial number for theSigningDevice
ornull
if not applicable. The serial number is a vendor specific identifier for a particular device which could but doesn't have to be unique.- Returns:
-
getImage
java.awt.image.BufferedImage getImage()
Returns a UI-usable Image ornull
. This image can be used to for example to present a "Device Selection Dialog".Although not specified the recommended size of the image is 400 x 400 Pixel.
- Returns:
- either a
BufferedImage
ornull
-
getFirmwareVersion
Version getFirmwareVersion()
Returns the firmware version of theSigningDevice
if applicable ornull
otherwise. The format of the version string is vendor dependent.- Returns:
-
getName
java.lang.String getName()
Returns a name for theSigningDevice
that may be used in a user interface.- Returns:
-
getVendor
Vendor getVendor()
-
-