Verifying Signed M-JPEG AVI Files
Schneider Electric has included a simple command line utility that lets you verify that digitally signed
To use this utility, open a command line session and change directories to the Advanced View installation directory. Type the following at the command line where avifilename.avi is the filename of the AVI file that you want to verify, and press Enter.
avivrfy avifilename.avi
Note: If the AVI file is not stored in the same directory as the AVIVRFY.BAT program, be sure to specify the fully qualified path to the file as part of avifilename.
AVIVRFY.BAT can verify multiple signed AVIs simultaneously. To verify multiple AVIs, append additional avifilename parameters to the command. For example, using the command would verify three AVI files, named sampl.avi, sample1.avi, and sample2.avi simultaneously.
avivrfy sample.avi sample1.avi sample2.avi
Output Examples
Here is an example of the output that AVIVRFY.BAT generates when used on a valid signed AVI file:
sample.avi is valid
Appliance Serial: 00:02:D3:02:C1:DB
Camera Serial: CAMERA_00:02:D3:02:C1:DB
Number of signatures: 1 Signature #1
Signature Timestamp: Sun Feb 22 09:05:45 CST 2009 (1100790345503)
Number of distinct images: 9 Image timestamps:
Sun Feb 22 | 09:04:33 CST 2009 (1100790273097) | |
Sun Feb 22 | 09:04:34 CST 2009 (1100790274094) | |
Sun Feb 22 | 09:04:36 CST 2009 (1100790276094) | |
Sun Feb 22 | 09:04:37 CST 2009 (1100790277104) | |
Sun Feb 22 | 09:04:38 CST 2009 (1100790278104) | |
Sun Feb 22 | 09:04:39 CST 2009 | (1100790279104) |
Sun Feb 22 | 09:04:40 CST 2009 | (1100790280114) |
Sun Feb 22 | 09:04:41 CST 2009 | (1100790281114) |
Sun Feb 22 | 09:04:42 CST 2009 | (1100790282114) |
Image | Hash: 490220249CFF986B581CEFC2EEA421AE303AB83A |
Here is an example of the output that AVIVRFY.BAT generates when used on a signed AVI file that has been tampered with:
sample.avi is not valid - Invalid length - 203398!=206012
NetBotz Appliance User’s Guide | 140 |