Package com.wibu.cm
Class CodeMeter.CMPROGRAM_BOXLOCK
- java.lang.Object
-
- com.wibu.cm.CodeMeter.CMPROGRAM_BOXLOCK
-
- Enclosing class:
- CodeMeter
public static class CodeMeter.CMPROGRAM_BOXLOCK extends java.lang.ObjectCMPROGRAM_BOXLOCK contains all parameters to lock or unlock a CmContainer.
Definition for the class CMPROGRAM_BOXLOCK corresponding to the c-api struct CMPROGRAM_BOXLOCK
-
-
Field Summary
Fields Modifier and Type Field Description longctrlspecifies if the CmContainer should be locked or unlocked.longreserveis reserved for future purposes.byte[]userKeycontains the new User Common Key, which must match the CmDongle internally increased UKI (User Key Identifier) to lock the CmDongle against use.
-
Constructor Summary
Constructors Constructor Description CMPROGRAM_BOXLOCK()
-
-
-
Field Detail
-
ctrl
public long ctrl
specifies if the CmContainer 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.
-
reserve
public long reserve
is reserved for future purposes.
-
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).
-
-