Package com.wibu.cm
Class CodeMeter.CMBOXENTRY
- java.lang.Object
-
- com.wibu.cm.CodeMeter.CMBOXENTRY
-
- Enclosing class:
- CodeMeter
public static class CodeMeter.CMBOXENTRY extends java.lang.ObjectCMBOXENTRY contains data of one entry.Definition for the class CMBOXENTRY corresponding to the c-api struct CMBOXENTRY. CMBOXENTRY contains data of one entry. An entry is containing one Firm Item and one Product Item. In this structure all static data are stored. The dynamic data must read out of the CmContainer explicitly.
-
-
Field Summary
Fields Modifier and Type Field Description CodeMeter.CMTIMEcmActivationTimecontains the Activation Time of the Product Item if available (see CMTIME).CodeMeter.CMTIMEcmExpirationTimecontains the Expiration Date of the Product Item if available (see CMTIME).longdependencyATcontains the dependency flags of the Activation Time.longdependencyETcontains the dependency flags of the Expiration Date.longdependencyFMcontains the dependency flags of the FeatureMap.longdependencyPCcontains the dependency flags of the Product Code.longdependencyUCcontains the dependency flags of the UnitCounter.longfeatureMapcontains the FeatureMap of the Product Item.longfiCtrlspecifies the type of the Firm Item.shortfirmAccessCountercontains the Firm Access Counter of the Firm Item.longfirmCodecontains the Firm Code of the Firm Item.java.lang.StringBufferfirmItemTextcontains the Firm ItemText of the Firm Item.longfirmPreciseTimecontains the FirmPreciseTime of the Firm Item.longfirmUpdateCountercontains the Firm Update Counter of the Firm Item.longproductCodecontains the Product Code of the Product Item.longproductItemRefProduct Item Referenceshortreserve1Deprecated.byte[]reserve2Deprecated.longsetPiosspecifies all available PIO's at this Product Item.longunitCountercontains the UnitCounter of the Product Item if available.
-
Constructor Summary
Constructors Constructor Description CMBOXENTRY()
-
-
-
Field Detail
-
fiCtrl
public long fiCtrl
specifies the type of the Firm Item. The following flags can be set:- CM_GF_BOXBASED specifies that the Firm Item was programmed in the Box-Based-Mode.
- CM_GF_FILEBASED specifies that the Firm Item was programmed in the File-Based-Mode.
- CM_GF_RESERVED specifies that the Firm Item is a Reserved FirmItem.
-
firmCode
public long firmCode
contains the Firm Code of the Firm Item.
-
firmAccessCounter
public short firmAccessCounter
contains the Firm Access Counter of the Firm Item.
-
reserve1
public short reserve1
Deprecated.
-
firmUpdateCounter
public long firmUpdateCounter
contains the Firm Update Counter of the Firm Item.
-
firmPreciseTime
public long firmPreciseTime
contains the FirmPreciseTime of the Firm Item.
-
firmItemText
public java.lang.StringBuffer firmItemText
contains the Firm ItemText of the Firm Item. (max. array length is CM_MAX_STRING_LEN)
-
setPios
public long setPios
specifies all available PIO's at this Product Item. The following flags can be set:- CM_GF_PRODUCTCODE specifies that the Product Item contains a Product Code.
- CM_GF_FEATUREMAP specifies that the Product Item contains a FeatureMap.
- CM_GF_EXPTIME specifies that the Product Item contains a Expiration Date.
- CM_GF_ACTTIME specifies that the Product Item contains a Activation Time.
- CM_GF_UNITCOUNTER specifies that the Product Item contains a UnitCounter.
- CM_GF_PROTDATA specifies that the Product Item contains a Protected Data.
- CM_GF_EXTPROTDATA specifies that the Product Item contains one or more Extended Protected Data.
- CM_GF_HIDDENDATA specifies that the Product Item contains one or more HiddenData Data.
- CM_GF_SECRETDATA specifies that the Product Item contains one or more Secret Data.
- CM_GF_USERDATA specifies that the Product Item contains a User Data.
- CM_GF_TEXT specifies that the Product Item contains a Text.
- CM_GF_USAGEPERIOD specifies that the Product Item contains a Usage Period.
- CM_GF_COLI specifies that the Product Item contains a Customer Owned License Information (COLI).
-
productCode
public long productCode
contains the Product Code of the Product Item.
-
featureMap
public long featureMap
contains the FeatureMap of the Product Item.
-
unitCounter
public long unitCounter
contains the UnitCounter of the Product Item if available.
-
cmExpirationTime
public CodeMeter.CMTIME cmExpirationTime
contains the Expiration Date of the Product Item if available (see CMTIME).
-
cmActivationTime
public CodeMeter.CMTIME cmActivationTime
contains the Activation Time of the Product Item if available (see CMTIME).
-
dependencyPC
public long dependencyPC
contains the dependency flags of the Product Code.
-
dependencyFM
public long dependencyFM
contains the dependency flags of the FeatureMap.
-
dependencyUC
public long dependencyUC
contains the dependency flags of the UnitCounter.
-
dependencyET
public long dependencyET
contains the dependency flags of the Expiration Date.
-
dependencyAT
public long dependencyAT
contains the dependency flags of the Activation Time.
-
reserve2
public byte[] reserve2
Deprecated.
-
productItemRef
public long productItemRef
Product Item Reference
-
-