Class CodeMeter.CMBORROWDATA

  • Enclosing class:
    CodeMeter

    public static class CodeMeter.CMBORROWDATA
    extends java.lang.Object
    CMBORROWDATA stores all needed parameters needed for borrowing a license. It is used within CmAccess2 and can be filled with CmGetInfo.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int boxMask
      contains the box mask of the license container on the client side.
      long boxSerial
      contains the serial number of the license container on the client side.
      java.lang.String clientName
      contains the DNS name of the borrowing client.
      long clientRequestTime
      contains the system time of the client.
      int cps
      contains the used copy protection system on client side: CodeMeter.CM_CPS_CODEMETER The borrowing client license is of type CodeMeter. CodeMeter.CM_CPS_CODEMETERACT The borrowing client license is of type CodeMeterAct.
      int enableBlock
      contains the index of the enabling block used for the borrowing operation.
      long featureMap
      contains the Feature Map of the borrow license on the client side.
      long firmCode
      contains Firm Code of the borrowed license on the client side.
      CodeMeter.CMTIME maintenancePeriodEnd
      contains the end date of the Maintenance Period of the Product Item if available.
      CodeMeter.CMTIME maintenancePeriodStart
      contains the start date of the Maintenance Period of the Product Item if available..
      long productCode
      contains the Product Code of the borrow license on the client side.
      byte[] serialPublicKey
      contains the Public Serial Key of the license container on the client side.
      byte[] serverID
      contains the id of the borrow server.
      long status
      contains the current status of the enabling block: CodeMeter.CM_EBI_DISABLED the entry is disabled, the license can not be used at the client. CodeMeter.CM_EBI_ENABLED the entry is enabled, the license can be used at the client.
      byte[] trailingValidationBlock
      contains the trading validation block that allows a validation of the contents of this structure.
    • Constructor Summary

      Constructors 
      Constructor Description
      CMBORROWDATA()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • status

        public long status
        contains the current status of the enabling block:
      • enableBlock

        public int enableBlock
        contains the index of the enabling block used for the borrowing operation.
      • firmCode

        public long firmCode
        contains Firm Code of the borrowed license on the client side.
      • productCode

        public long productCode
        contains the Product Code of the borrow license on the client side.
      • featureMap

        public long featureMap
        contains the Feature Map of the borrow license on the client side.
      • boxMask

        public int boxMask
        contains the box mask of the license container on the client side.
      • boxSerial

        public long boxSerial
        contains the serial number of the license container on the client side.
      • serialPublicKey

        public byte[] serialPublicKey
        contains the Public Serial Key of the license container on the client side.
      • serverID

        public byte[] serverID
        contains the id of the borrow server.
      • clientName

        public java.lang.String clientName
        contains the DNS name of the borrowing client. (up to 128 characters)
      • trailingValidationBlock

        public byte[] trailingValidationBlock
        contains the trading validation block that allows a validation of the contents of this structure.
      • clientRequestTime

        public long clientRequestTime
        contains the system time of the client.
      • 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.
    • Constructor Detail

      • CMBORROWDATA

        public CMBORROWDATA()