Package com.wibu.CodeMeter
Class CodeMeter.CMCRYPT2
- java.lang.Object
-
- com.wibu.CodeMeter.CodeMeter.CMCRYPT2
-
- Enclosing class:
- CodeMeter
public static class CodeMeter.CMCRYPT2 extends java.lang.ObjectCMCRYPT2 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.CMBASECRYPT2cmBaseCryptcmBaseCrypt contains all needed parameters for an encryption (see CMBASECRYPT2).byte[]directAesKeydirectAesKey contains the AES key for an encryption/decryption without hardware using original AES.byte[]initKeycontains the key for the indirect encryption (see Encryption Modes).
-
Constructor Summary
Constructors Constructor Description CMCRYPT2()
-
-
-
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).
-
-