ENCRYPTION ECR EC

Description:

  Display or Modify the current encryption mode setting or modify the current
  encryption key used for BISS encryption.

Form:

  To display/change the MODE:
  ENCRYPTION|ECR|EC [MODE]
  Argument List:
    MODE-    0=  OFF
             1=  BISS_1             (BISS Mode 1-Uses CSW as KEY)
             2=  BISS_E_USER_ID_ONE (BISS Mode E-Uses AID1 & ESW to generate KEY)
             3=  BISS_E_USER_ID_TWO (BISS Mode E-Uses AID2 & ESW to generate KEY)
             4=  CONAX              (NOT YET SUPPORTED)

  To change a given KEY:
  NOTE: For CSW, AID1, ESW the [KEY TYPE] is optional.
  ENCRYPTION|ECR|EC [KEY]
  Argument List:
    [KEY] (CSW  12 Hex Character Clear Session Word)
    [KEY] (AID1 14 Hex Character Active ID)
    [KEY] (ESW  16 Hex Character Encrypted Session Word)

  ENCRYPTION|ECR|EC [INPUT] [KEY TYPE] [KEY]
  Argument List:
    KEY TYPE-0=  CSW  [KEY] (12 Hex Character Clear Session Word)
             1=  ESW  [KEY] (16 Hex Character Encrypted Session Word)
             2=  AID1 [KEY] (14 Hex Character Active ID)
             3=  AID2 [KEY] (14 Hex Character Active ID)
             4=  CON  [NOT YET SUPPORTED]

    INPUT-   0=  ASI
             1=  RF1
             2=  RF2
             3=  IP

Response:

  DISPLAY ENCRYPTION "MODE" RESPONSE
    "OK\r\n" to acknowledge receipt of command, followed by
    "[ENCRYPTION MODE]\r\n", or
    "ERROR- [Description]\r\n" if error, ending command
    "\r\n" concludes display responses (empty line)

  MODIFY ENCRYPTION RESPONSE
    Verbose- "OK\r\n" to acknowledge receipt of command, or
             "ERROR- [Description]\r\n" if error, ending command
    Terse-   "0\r\n" to acknowledge receipt of command, or
             "[NON-ZERO NUMERIC VALUE]\r\n" if error, ending command
    "\r\n" concludes modify responses (empty line)

Examples:

  Verbose command to retrieve current MODE setting:
  *.DCMD ECR <enter>
     Response is: OK\r\n
                  MODE= OFF\r\n

  Terse command to retrieve current MODE setting:
  *.DCMD EC <enter>
     Response is: 0\r\n
                  0\r\n

  Verbose command to change MODE setting:
  *.DCMD ECR BISS_1 <enter>
     Response is: OK\r\n

  Terse command to change MODE setting:
  *.DCMD EC 1 <enter>
     Response is: 0\r\n

  Verbose command to change KEY setting:
  *.DCMD ECR CSW 123456789012 <enter>
     Response is: OK\r\n

  Terse command to change KEY setting:
  *.DCMD EC 0 123456789012 <enter>
     Response is: 0\r\n

Notes:

  All KEYs must consist of HEX characters only. Valid HEX characters are:
    "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,a,b,c,d,e,f"

  For CSW, AID1, ESW the [KEY TYPE] argument is optional. The length of the KEY
  is used to determine which KEY is being set. Valid lengths are:
    CSW  (12 Hex Character Clear Session Word)
    AID1 (14 Hex Character Active ID)
    ESW  (16 Hex Character Encrypted Session Word)

  There are two BISSE modes which can be selected. The first is
  BISS_E_USER_ID_ONE which uses AID1 and ESW to generate the encryption key.
  The second is BISS_E_USER_ID_TWO which uses AID2 and ESW to generate the
  encryption key.

  Once any of the encryption keys has been set correctly it cannot be retrieved
  by issuing the ENCRYPTION command. Thus there is no way to check the key that
  currently resides in the system. If there is any doubt whether the correct key
  is being used enter the correct key again.
Created By: Adtec Digital