sl@0
|
1 |
; Negative test: Created the PKCS12 file with digest alg is other than SHA1.
|
sl@0
|
2 |
|
sl@0
|
3 |
[main]
|
sl@0
|
4 |
file=C:\tpkcs12intg\data\pkcs12_digestalgnotsha1.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=True
|
sl@0
|
11 |
integrity_valid=1
|
sl@0
|
12 |
unittest=True
|
sl@0
|
13 |
|
sl@0
|
14 |
; optional / unit tests
|
sl@0
|
15 |
[MacData]
|
sl@0
|
16 |
Mac=C:\tpkcs12intg\data\pkcs12_digestalgnotsha1_mac.der
|
sl@0
|
17 |
MacSalt=C:\tpkcs12intg\data\pkcs12_digestalgnotsha1_salt.der
|
sl@0
|
18 |
IterationCount=2048
|
sl@0
|
19 |
ExpectedError = -5 ; here the digest alg is other than SHA1.
|
sl@0
|
20 |
ExpectedResult= 0 |