Package com.wibu.cm

Class CodeMeter.CMSECUREDATA

  • Enclosing class:
    CodeMeter

    public static class CodeMeter.CMSECUREDATA
    extends java.lang.Object
    CMSECUREDATA stores all needed parameters for an encrypted reading of a PIO.

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

    CMSECUREDATA stores all needed parameters for an encrypted reading of a PIO.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      CodeMeter.CMBASECRYPT cmBaseCrypt
      contains all needed parameters for an encryption (see CMBASECRYPT).
      short extType
      contains the extended type (ID) of the PIO to read.
      byte[] pioEncryptionKey
      contains the PIOEK (Product Item Option Encryption Key).
      short pioType
      contains the type of the PIO to read out in an encrypted way.
      long reserve
      is reserved for future purposes.
    • Constructor Summary

      Constructors 
      Constructor Description
      CMSECUREDATA()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • cmBaseCrypt

        public CodeMeter.CMBASECRYPT cmBaseCrypt
        contains all needed parameters for an encryption (see CMBASECRYPT).
      • pioType

        public short pioType
        contains the type of the PIO to read out in an encrypted way.
        • CM_GF_EXTPROTDATA specifies that the PIO to read is a Extended Protected Data.
        • CM_GF_HIDDENDATA specifies that the PIO to read is a HiddenData.
      • extType

        public short extType
        contains the extended type (ID) of the PIO to read.
      • pioEncryptionKey

        public byte[] pioEncryptionKey
        contains the PIOEK (Product Item Option Encryption Key). (array length is CM_BLOCK_SIZE)
      • reserve

        public long reserve
        is reserved for future purposes.
    • Constructor Detail

      • CMSECUREDATA

        public CMSECUREDATA()