os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/encryptedusingdifferentalg.ini
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/encryptedusingdifferentalg.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,25 @@
1.4 +;Negative Test: Created the PKCS12 file with the authSafe contentInfo Encrypted Data using different algorithm which is not supported.
1.5 +
1.6 +[main]
1.7 +file=C:\tpkcs12intg\data\pkcs12_encryptedusingdifferentAlg.p12
1.8 +integritymode=password
1.9 +integritypassword=password
1.10 +PrivacyPassword1=password
1.11 +PrivacyPassword2=password
1.12 +verifyintegritypassword =password
1.13 +MacPresent=False
1.14 +integrity_valid=1
1.15 +unittest=True
1.16 +
1.17 +[authsafe]
1.18 +numcontentinfos=2
1.19 +contentinfo1=ContentInfo_1
1.20 +contentinfo2=ContentInfo_2
1.21 +
1.22 +[ContentInfo_1]
1.23 +ContentInfoType=6
1.24 +; optional / unit tests
1.25 +ExpectedError=-6 ;Encrypted using different algorithm which is not supported.
1.26 +ExpectedResult=0
1.27 +
1.28 +