]>
git.saurik.com Git - apple/security.git/blob - SecurityTests/clxutils/cmstool/testSubjects/vfyCms
3 # run CMS regression tests.
5 set BUILD_DIR
=$LOCAL_BUILD_DIR
14 echo Usage
: vfyCms \
[q\
(uiet\
)\
]
19 # signed1.cms is ptext1 wrapped in a signedData
21 set TMP_PTEXT
=/tmp
/ptext_tmp
22 $LOCAL_BUILD_DIR/cmstool parse
-i signed1.cms
-o $TMP_PTEXT -v sign
$QUIET || exit(1)
23 cmp ptext1.txt
$TMP_PTEXT
24 if ($status != 0) then
25 echo ### Data miscompare: plaintext signed1.cms recovered $TMP_PTEXT