Package com.wibu.CodeMeter
Class CodeMeter.CMBOXINFO
- java.lang.Object
-
- com.wibu.CodeMeter.CodeMeter.CMBOXINFO
-
- Enclosing class:
- CodeMeter
public static class CodeMeter.CMBOXINFO extends java.lang.ObjectDefinition for the class CMBOXINFO corresponding to the c-api struct CMBOXINFO.This structure contains information about a CmContainer.
Remarks:
The length of the mabBoxPublicKey and mabSerialPublicKey is 64 byte long. The used public key are currently 224 bits = 28 bytes long. In Elliptic Curve Cryptography the public key is a 2 dimensional point, so the x-value is stored in the first 28 bytes (0..27) and the y-value is store in byte 32..59.
-
-
Field Summary
Fields Modifier and Type Field Description intboxKeyIdcontains the ID of the used BoxKey of the CmContainerintboxMaskcontains the mask byte of the CmContainerbyte[]boxPublicKeycontains the public Box Key of the CmContainer (array of the length CM_PUBLIC_KEY_LEN )longextendedSerialcontains the extended serial of the CmContainershortmajorVersioncontains the major version of the CmContainershortminorVersioncontains the minor version of the CmContainerlongserialNumbercontains the serial number of the CmContainerbyte[]serialPublicKeycontains the public Serial Key of the CmContainer (array of the length CM_PUBLIC_KEY_LEN)intuserKeyIdcontains the ID of the used UserKey of the CmContainer
-
Constructor Summary
Constructors Constructor Description CMBOXINFO()
-
-
-
Field Detail
-
majorVersion
public short majorVersion
contains the major version of the CmContainer
-
minorVersion
public short minorVersion
contains the minor version of the CmContainer
-
boxMask
public int boxMask
contains the mask byte of the CmContainer
-
serialNumber
public long serialNumber
contains the serial number of the CmContainer
-
boxKeyId
public int boxKeyId
contains the ID of the used BoxKey of the CmContainer
-
userKeyId
public int userKeyId
contains the ID of the used UserKey of the CmContainer
-
boxPublicKey
public byte[] boxPublicKey
contains the public Box Key of the CmContainer (array of the length CM_PUBLIC_KEY_LEN )
-
serialPublicKey
public byte[] serialPublicKey
contains the public Serial Key of the CmContainer (array of the length CM_PUBLIC_KEY_LEN)
-
extendedSerial
public long extendedSerial
contains the extended serial of the CmContainer
-
-