Package com.wibu.CodeMeter
Class CodeMeter.CMBOXENTRY2
- java.lang.Object
-
- com.wibu.CodeMeter.CodeMeter.CMBOXENTRY2
-
- Enclosing class:
- CodeMeter
public static class CodeMeter.CMBOXENTRY2 extends java.lang.ObjectCMBOXENTRY2 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.CMTIMEactivationTimecontains the Expiration Time of the Product Item if available (see CMTIME).java.util.ArrayList<CodeMeter.CMENTRYUVDATA>cmEntryUniversalDataHolds the UVD Data of this entry.bytedependencyATcontains the dependency flags of the Activation Time.bytedependencyETcontains the dependency flags of the Expiration Time.bytedependencyFMcontains the dependency flags of the Feature Map.bytedependencyLQcontains the dependency flags of the License Quantity.bytedependencyLTcontains the dependency flags of the Linger Time.bytedependencyMPcontains the dependency flags of the Maintenance Period.bytedependencyMVcontains the dependency flags of the Minimum Runtime Version.bytedependencyPCbytedependencyUCcontains the dependency flags of the Expiration Time.bytedependencyUPcontains the dependency flags of the Usage Period.CodeMeter.CMTIMEexpirationTimecontains the Expiration Time of the Product Item if available (see CMTIME).longfeatureMapcontains the Feature Map of the Product Item.longfiCtrlmflFiCtrl specifies the type of the Firm Item.intfirmAccessCountercontains the Firm Access Counter of the Firm Item.longfirmCodecontains the Firm Code of the Firm Item.java.lang.StringfirmItemTextcontains the Firm Item Text of the Firm Item.longfirmPreciseTimecontains the FirmPreciseTime of the Firm Item.longfirmUpdateCountercontains the Firm Update Counter of the Firm Item.longlicenseQuantitycontains the License Quantity of the Product Item if available.longlicenseQuantityFlagslonglicenseTagcontains the dependency flags of the Product Code.longlicenseTransferUpdateCounterlonglingerTimeCodeMeter.CMTIMEmaintenancePeriodEndcontains the end date of the Maintenance Period of the Product Item if available.CodeMeter.CMTIMEmaintenancePeriodStartcontains the start date of the Maintenance Period of the Product Item if available.intmaxEncryptionRateCodeMeter.CMVERSIONminimumRuntimeVersionThe minimum runtime version requiredintmoduleReflongproductCodecontains the Product Code of the Product Item.byte[]productItemIdintproductItemRefholds the Product Item Reference.longsetEffectivePiosspecifies the effective PIO's at this Product Item.longsetNativePiosspecifies the native PIO's at this Product Item.longsetPiosspecifies all available PIO's at this Product Item.CodeMeter.CMTIMEtransferBorrowExpirationTimeinttransferBoxMaskbyte[]transferIdlongtransferSerialNumberlongtransferStatuslongunitCountercontains the Unit Counter of the Product Item if available.longusagePeriodLifeTimecontains the period length of the Usage Period in seconds if available.CodeMeter.CMTIMEusagePeriodStartTimecontains the start time of the Usage Period if available (see CMTIME).
-
Constructor Summary
Constructors Constructor Description CMBOXENTRY2()
-
-
-
Field Detail
-
fiCtrl
public long fiCtrl
mflFiCtrl 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_TRANSFERBASED specifies that the Firm Item was programmed in the Transfer-Based-Mode.
- CM_GF_FI_RESERVED specifies that the Firm Item is a Reserved Firm Item.
-
firmCode
public long firmCode
contains the Firm Code of the Firm Item.
-
firmAccessCounter
public int firmAccessCounter
contains the Firm Access Counter of the Firm Item.
-
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.String firmItemText
contains the Firm Item Text of the Firm Item.
-
licenseTransferUpdateCounter
public long licenseTransferUpdateCounter
-
setNativePios
public long setNativePios
specifies the native PIO's at this Product Item. For the meaning of the flags @see #setPios
-
setEffectivePios
public long setEffectivePios
specifies the effective PIO's at this Product Item. For the meaning of the flags @see #setPios
-
setPios
public long setPios
specifies all available PIO's at this Product Item. The following flags can be set:- CM_BE_PRODUCTCODE specifies that the Product Item contains a Product Code.
- CM_BE_FEATUREMAP specifies that the Product Item contains a Feature Map.
- CM_BE_EXPTIME specifies that the Product Item contains a Expiration Time.
- CM_BE_ACTTIME specifies that the Product Item contains a Activation Time.
- CM_BE_UNITCOUNTER specifies that the Product Item contains a Unit Counter.
- CM_BE_PROTDATA specifies that the Product Item contains a Protected Data.
- CM_BE_EXTPROTDATA specifies that the Product Item contains one or more Extended Protected Data.
- CM_BE_HIDDENDATA specifies that the Product Item contains one or more Hidden Data.
- CM_BE_SECRETDATA specifies that the Product Item contains one or more Secret Data.
- CM_BE_USERDATA specifies that the Product Item contains a User Data.
- CM_BE_TEXT specifies that the Product Item contains a Text.
- CM_BE_USAGEPERIOD specifies that the Product Item contains a Usage Period.
- CM_BE_LICENSEQUANTITY specifies that the Product Item contains a License Quantity.
- CM_BE_BORROWCLIENT specifies that the Product Item contains a Borrow Client entry.
- CM_BE_BORROWSERVER specifies that the Product Item contains a Borrow Server entry.
- CM_BE_COLI specifies that the Product Item contains Customer Owned License Information (COLI).
- CM_BE_MAINTENANCEPERIOD specifies that the Product Item contains a Maintenance Period entry.
- CM_GF_PIO_MASK specifies all flags for the Product Item Options.
-
productCode
public long productCode
contains the Product Code of the Product Item.
-
featureMap
public long featureMap
contains the Feature Map of the Product Item.
-
maintenancePeriodStart
public CodeMeter.CMTIME maintenancePeriodStart
contains the start date of the Maintenance Period of the Product Item if available.
-
maintenancePeriodEnd
public CodeMeter.CMTIME maintenancePeriodEnd
contains the end date of the Maintenance Period of the Product Item if available.
-
unitCounter
public long unitCounter
contains the Unit Counter of the Product Item if available.
-
expirationTime
public CodeMeter.CMTIME expirationTime
contains the Expiration Time of the Product Item if available (see CMTIME).
-
activationTime
public CodeMeter.CMTIME activationTime
contains the Expiration Time of the Product Item if available (see CMTIME).
-
usagePeriodLifeTime
public long usagePeriodLifeTime
contains the period length of the Usage Period in seconds if available.
-
usagePeriodStartTime
public CodeMeter.CMTIME usagePeriodStartTime
contains the start time of the Usage Period if available (see CMTIME).
-
licenseQuantity
public long licenseQuantity
contains the License Quantity of the Product Item if available.
-
lingerTime
public long lingerTime
-
minimumRuntimeVersion
public CodeMeter.CMVERSION minimumRuntimeVersion
The minimum runtime version required
-
licenseQuantityFlags
public long licenseQuantityFlags
-
licenseTag
public long licenseTag
contains the dependency flags of the Product Code.
-
transferStatus
public long transferStatus
-
productItemId
public byte[] productItemId
-
maxEncryptionRate
public int maxEncryptionRate
-
dependencyPC
public byte dependencyPC
-
dependencyFM
public byte dependencyFM
contains the dependency flags of the Feature Map.
-
dependencyMP
public byte dependencyMP
contains the dependency flags of the Maintenance Period.
-
dependencyUC
public byte dependencyUC
contains the dependency flags of the Expiration Time.
-
dependencyET
public byte dependencyET
contains the dependency flags of the Expiration Time.
-
dependencyAT
public byte dependencyAT
contains the dependency flags of the Activation Time.
-
dependencyUP
public byte dependencyUP
contains the dependency flags of the Usage Period.
-
dependencyLQ
public byte dependencyLQ
contains the dependency flags of the License Quantity.
-
dependencyLT
public byte dependencyLT
contains the dependency flags of the Linger Time.
-
dependencyMV
public byte dependencyMV
contains the dependency flags of the Minimum Runtime Version.
-
moduleRef
public int moduleRef
-
productItemRef
public int productItemRef
holds the Product Item Reference.
-
transferBoxMask
public int transferBoxMask
-
transferSerialNumber
public long transferSerialNumber
-
transferBorrowExpirationTime
public CodeMeter.CMTIME transferBorrowExpirationTime
-
transferId
public byte[] transferId
-
cmEntryUniversalData
public java.util.ArrayList<CodeMeter.CMENTRYUVDATA> cmEntryUniversalData
Holds the UVD Data of this entry. - since the java implementation apparently has no mabData / reserve data using the structc directly
-
-