sl@0
|
1 |
;Negative Test: Created the PKCS12 file with the authSafe contentInfo Encrypted Data using different algorithm which is not supported.
|
sl@0
|
2 |
|
sl@0
|
3 |
[main]
|
sl@0
|
4 |
file=C:\tpkcs12intg\data\pkcs12_encryptedusingdifferentAlg.p12
|
sl@0
|
5 |
integritymode=password
|
sl@0
|
6 |
integritypassword=password
|
sl@0
|
7 |
PrivacyPassword1=password
|
sl@0
|
8 |
PrivacyPassword2=password
|
sl@0
|
9 |
verifyintegritypassword =password
|
sl@0
|
10 |
MacPresent=False
|
sl@0
|
11 |
integrity_valid=1
|
sl@0
|
12 |
unittest=True
|
sl@0
|
13 |
|
sl@0
|
14 |
[authsafe]
|
sl@0
|
15 |
numcontentinfos=2
|
sl@0
|
16 |
contentinfo1=ContentInfo_1
|
sl@0
|
17 |
contentinfo2=ContentInfo_2
|
sl@0
|
18 |
|
sl@0
|
19 |
[ContentInfo_1]
|
sl@0
|
20 |
ContentInfoType=6
|
sl@0
|
21 |
; optional / unit tests
|
sl@0
|
22 |
ExpectedError=-6 ;Encrypted using different algorithm which is not supported.
|
sl@0
|
23 |
ExpectedResult=0
|
sl@0
|
24 |
|
sl@0
|
25 |
|