os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/certbag_notoctetstring.ini
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/certbag_notoctetstring.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,31 @@
1.4 +;Negative test: Created the PKCS12 file with certbag value is not OCTETString.
1.5 +
1.6 +[main]
1.7 +file=C:\tpkcs12intg\data\pkcs12_certbag_notoctetstring.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=1
1.19 +contentinfo1=ContentInfo_1
1.20 +
1.21 +[ContentInfo_1]
1.22 +ContentInfoType=1
1.23 +privacypassword=password
1.24 +
1.25 +[BagData1]
1.26 +BagType=3
1.27 +BagValue=c:\tpkcs12intg\data\root5ca.der
1.28 +CertType=1.2.840.113549.1.9.22.1
1.29 +numattributes=2
1.30 +attr1=bag1attr1
1.31 +attr2=bag2attr2
1.32 +; optional / unit tests
1.33 +ExpectedError=-6; KErrArgument ; here the certbag value is not OCTETString.
1.34 +ExpectedError1=-5; KErrNotSupported