Class CodeMeter.CMCRYPT2

  • Enclosing class:
    CodeMeter

    public static class CodeMeter.CMCRYPT2
    extends java.lang.Object
    CMCRYPT2 contains all needed parameters for an encryption with a normal CmContainer using CmCrypt2. CMCRYPT2 is supported since CodeMeter 4.30.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      CodeMeter.CMBASECRYPT2 cmBaseCrypt
      cmBaseCrypt contains all needed parameters for an encryption (see CMBASECRYPT2).
      byte[] directAesKey
      directAesKey contains the AES key for an encryption/decryption without hardware using original AES.
      byte[] initKey
      contains the key for the indirect encryption (see Encryption Modes).
    • Constructor Summary

      Constructors 
      Constructor Description
      CMCRYPT2()  
    • 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.CMBASECRYPT2 cmBaseCrypt
        cmBaseCrypt contains all needed parameters for an encryption (see CMBASECRYPT2).
      • directAesKey

        public byte[] directAesKey
        directAesKey contains the AES key for an encryption/decryption without hardware using original AES. This is only used for CmCrypt2 with the flags CM_CRYPT_AES_ENC_CBC_DIRECT or CM_CRYPT_AES_DEC_CBC_DIRECT (see also Encryption Modes).
      • initKey

        public byte[] initKey
        contains the key for the indirect encryption (see Encryption Modes). For an encryption/decryption without hardware using CmCrypt2 with the flags CM_CRYPT_AES_ENC_CBC_DIRECT or CM_CRYPT_AES_DEC_CBC_DIRECT use this member to set the initialization vector (IV).
    • Constructor Detail

      • CMCRYPT2

        public CMCRYPT2()