diff -r 000000000000 -r 2c201484c85f cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/pm010.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/pm010.ini Wed Jul 08 11:25:26 2009 +0100 @@ -0,0 +1,83 @@ +;Keybag=1 +;ShroudedBag=2 +;Certbag=3 +;CrlBag=4 +;SecretBag=5 +;SafeContentsBag=6 + +[main] +file=C:\tpkcs12intg\data\pkcs12_pm010.p12 +integritymode=password +integritypassword=password +PrivacyPassword1=password +PrivacyPassword2=password +verifyintegritypassword =password +MacPresent=True + +integrity_valid=1 +unittest=False +; optional / unit tests +[MacData] +Mac=C:\tpkcs12intg\data\pm010_mac +MacSalt=C:\tpkcs12intg\data\pm010_macsalt +IterationCount=2048 +ExpectedError=-6 ;KErrArgument + +[authsafe] +numcontentinfos=2 +contentinfo1=ContentInfo_1 +contentinfo2=ContentInfo_2 +; optional / unit tests +ExpectedError = -6;KErrArgument + +[ContentInfo_1] +ContentInfoType=6 +;unit test/optional +Cipher=5 ; ECipherRC2_CBC_40 + +Salt=C1:F6:5C:BE:6A:A5:E7:E1 +IterationCount=2048 +ExpectedError1=-6; KErrArgument +ExpectedError2=-5; KErrNotSupported + +[ContentInfo_2] +ContentInfoType=1 +;unit test/optional +ExpectedError1=-6; KErrArgument +ExpectedError2=-5; KErrNotSupported + +[BagData1] +BagType=3 +BagValue=c:\tpkcs12intg\data\root5ca.der +CertType=1.2.840.113549.1.9.22.1 +numattributes=0 + +CertValue= ; certvalue need to be checked +;unit test/optional +ExpectedError=-6 ; KErrArgument + +[BagData2] +BagType=2 +safeBagprivacypassword=password +BagValue=c:\tpkcs12intg\data\safebag_shrouded_pm010.der +EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8 +numattributes=2 +attr1=bag2attr1 +attr2=bag2attr2 +;optional / unit tests +PrivateKeyInfoVersion=0 +PrivateKeyInfoAlgorithm=ERSA + +ExpectedError1=-6 ; KErrArgument +ExpectedError2=-5 ; KErrNotSupported + +[bag2attr1] +id=1.2.840.113549.1.9.20 +numvalues=1 +value1=c:\tpkcs12intg\data\friendlyname.der + +[bag2attr2] +id=1.2.840.113549.1.9.21 +numvalues=1 +value1=c:\tpkcs12intg\data\localkeyid.der +