Package com.wibu.CodeMeter
Class CodeMeter.CMBOXSTATUS
- java.lang.Object
-
- com.wibu.CodeMeter.CodeMeter.CMBOXSTATUS
-
- Enclosing class:
- CodeMeter
public static class CodeMeter.CMBOXSTATUS extends java.lang.ObjectCMBOXSTATUS is used only for cmGetInfo(CM_GEI_BOXSTATUS)
-
-
Field Summary
Fields Modifier and Type Field Description booleancmactActivateCodespecifies that the CodeMeterAct license can be activated by entering a code (phone activation).booleancmactActivateFilespecifies that the CodeMeterAct license has to be activated by a file transmission of a Remote Update File.booleancmactActivespecifies that the CodeMeterAct license currently is valid and active.booleancmactBrokenspecifies that the binding requirements are no longer fulfilled.booleancmactFilespecifies that a file is the base of this CmActLicense.booleancmactInvalidspecifies that there occurred a problem with the security checks of the CodeMeterAct license.booleancmactLoadedspecifies that the CmActLicense is loaded and can be used.booleancmactProgrammablespecifies that this license can be programmed now.booleancmactPsnRequiredspecifies that the licensee has to set a Product Serial Number (PSN) at the time of creating a remote context file.booleandisabledspecifies that the CmContainer is disabled.booleanenabledspecifies that the CmContainer is enabled.booleanhasFlashspecifies that the CmDongle contains an additional flash disc besides the CodeMeter chip.booleanisCmActspecifies that the CmContainer is a CmActLicense.booleanlowMemoryspecifies that the CmContainer has too low memory to replace damaged memory during normal usage.booleanrealTimeClockUsedspecifies that the hardware (CmStick/T) has a working battery powered clock inside.booleanremoveablespecifies the configuration of the CmDongle.booleanreplugspecifies that the CmDongle has initiated a Plug Out/In event for itself to force the operating system to remount the flash drive.booleantempEnabledspecifies that the CmContainer is temporarily enabled.booleanusesHidCommunicationspecifies that the hardware uses HID communicationbooleanusesSpiCommunicationspecifies that the hardware uses SPI communicationlongvalueContains all above information or'ed using the CM_BOXSTATUS_ flags.
-
Constructor Summary
Constructors Constructor Description CMBOXSTATUS()CMBOXSTATUS(CodeMeter.CMBOXSTATUS jBoxStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetFromLong(long value)
-
-
-
Field Detail
-
lowMemory
public boolean lowMemory
specifies that the CmContainer has too low memory to replace damaged memory during normal usage.
-
replug
public boolean replug
specifies that the CmDongle has initiated a Plug Out/In event for itself to force the operating system to remount the flash drive.
-
hasFlash
public boolean hasFlash
specifies that the CmDongle contains an additional flash disc besides the CodeMeter chip.
-
removeable
public boolean removeable
specifies the configuration of the CmDongle. This can be either be a fixed disk device or a removable disk device. The configuration of the CmDongle can be altered with CmConfigDisk on Windows.
-
tempEnabled
public boolean tempEnabled
specifies that the CmContainer is temporarily enabled.
-
enabled
public boolean enabled
specifies that the CmContainer is enabled.
-
disabled
public boolean disabled
specifies that the CmContainer is disabled.
-
isCmAct
public boolean isCmAct
specifies that the CmContainer is a CmActLicense.
-
cmactFile
public boolean cmactFile
specifies that a file is the base of this CmActLicense.
-
cmactLoaded
public boolean cmactLoaded
specifies that the CmActLicense is loaded and can be used. Used during the license creation on licensors side.
-
cmactActivateCode
public boolean cmactActivateCode
specifies that the CodeMeterAct license can be activated by entering a code (phone activation).
-
cmactActivateFile
public boolean cmactActivateFile
specifies that the CodeMeterAct license has to be activated by a file transmission of a Remote Update File.
-
cmactActive
public boolean cmactActive
specifies that the CodeMeterAct license currently is valid and active.
-
cmactProgrammable
public boolean cmactProgrammable
specifies that this license can be programmed now. Used during the license creation on licensors side.
-
cmactInvalid
public boolean cmactInvalid
specifies that there occurred a problem with the security checks of the CodeMeterAct license. The license cannot be used.
-
cmactBroken
public boolean cmactBroken
specifies that the binding requirements are no longer fulfilled. The license cannot be used.
-
cmactPsnRequired
public boolean cmactPsnRequired
specifies that the licensee has to set a Product Serial Number (PSN) at the time of creating a remote context file.
-
realTimeClockUsed
public boolean realTimeClockUsed
specifies that the hardware (CmStick/T) has a working battery powered clock inside.
-
usesHidCommunication
public boolean usesHidCommunication
specifies that the hardware uses HID communication
-
usesSpiCommunication
public boolean usesSpiCommunication
specifies that the hardware uses SPI communication
-
value
public long value
Contains all above information or'ed using the CM_BOXSTATUS_ flags. This member is required for internal reasons but can also be used as replacement of the above flags. The following code
is equivalent to this one:if ( cmboxstatus.hasFlash ) StaticLogger.log("CmStick has flash memory -> CmStick/M");if ( cmboxstatus.value | CodeMeter.CM_BOXSTATUS_HASFLASH ) StaticLogger.log("CmStick has flash memory -> CmStick/M");
-
-
Constructor Detail
-
CMBOXSTATUS
public CMBOXSTATUS()
-
CMBOXSTATUS
public CMBOXSTATUS(CodeMeter.CMBOXSTATUS jBoxStatus)
-
-