Class CodeMeter.CMPROGRAM_BOXLOCK

  • Enclosing class:
    CodeMeter

    public static class CodeMeter.CMPROGRAM_BOXLOCK
    extends java.lang.Object

    CMPROGRAM_BOXLOCK contains all parameters to lock or unlock a CmDongle.

    Definition for the class CMPROGRAM_BOXLOCK corresponding to the c-api struct CMPROGRAM_BOXLOCK

    • Field Summary

      Fields 
      Modifier and Type Field Description
      long ctrl
      specifies if the CmDongle should be locked or unlocked.
      byte[] userKey
      contains the new User Common Key, which must match the CmDongle internally increased UKI (User Key Identifier) to lock the CmDongle against use.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • ctrl

        public long ctrl
        specifies if the CmDongle should be locked or unlocked.
        • CM_BL_LOCK specifies that the control registers is programmed absolutly.
        • CM_BL_UNLOCK specifies that the control registers is programmed in the switch mode.
      • userKey

        public byte[] userKey
        contains the new User Common Key, which must match the CmDongle internally increased UKI (User Key Identifier) to lock the CmDongle against use. (length is CM_BLOCKCIPHER_KEY_LEN bytes).
    • Constructor Detail

      • CMPROGRAM_BOXLOCK

        public CMPROGRAM_BOXLOCK()