User Guide DDOC0099-000-AH
DTS1 CSfC 12 - 6 Command Line Interface
© 2020 Curtiss-Wright Defense Solutions Revision 5.0
Line Identifier
CMKEY ..................................Status line
Fields
id=<int>..............................Unique crypto module identifier
init=<b>..............................Initialization indicator
login=<b>............................Login indicator
s0=<b> ..................................Key-loaded indicator for RMC slot 0
s1=<b> ..................................Key-loaded indicator for RMC slot 1
s2=<b> ..................................Key-loaded indicator for RMC slot 2
deks=<int>..........................Saved key locations
status=<sts> .....................Summary status for the line
Enumerated types (See above examples in fields)
<int> .......................................An integer value
<b> .........................................Boolean status value (1=true, 0=false)
<sts> ......................................Status message (OK, ERR "<str>")
<summary> ............................Command status summary (OK, ERR)
Example: Pass encrypted key, save to location 4, load for RMC..
Where
[edek string] = 40 byte value represented by 80 hex characters
[mac string] = 32 byte value represented by 64 hex characters
Line Identifier
CMKEY ..................................Status line
Fields
action=<act> .......................Action being performed
slot=<int> ............................RMC slot number
status=<sts> .......................Summary status for the line
Enumerated types (See above examples in fields)
<int> .......................................An integer value
<act> ......................................Action (zero, auto, save, inst, load, unload, delete)
<sts> ......................................Status message (OK, ERR "<str>")
<summary> ............................Command status summary (OK, ERR)
Example: Pass plain text key, load for RMC
Where
[dek string] = 32 byte value represented by 64 hex characters
[psk string] = 32 byte value represented by 64 hex characters
Example: Pass plain text key, save to location 3.
cw_dts> cmkey --save 4 -s 0 -F -e [edek string] -m [mac string]
[cmkey]
CMKEY: action=inst slot=<int> status=<sts>
[!cmkey] <summary>
cw_dts> cmkey -s 0 -d -p
[cmkey]
Please enter plaintext DEK: [User-generated plain text DEK string]
Please enter current PSK: [Curtiss-Wright provided PSK string]
CMKEY: action=inst slot=<int> status=<sts>
[!cmkey] <summary>
cw_dts> cmkey --save 3 -d -p
[cmkey]
Please enter plaintext DEK: [User-generated plain text DEK string]
Please enter current PSK: [Curtiss-Wright provided PSK string]
CMKEY: action=save status=<sts>
[!cmkey] <summary>