os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/cb006.ini
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/cb006.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,192 @@
1.4 +;Keybag=1
1.5 +;ShroudedBag=2
1.6 +;Certbag=3
1.7 +;CrlBag=4
1.8 +;SecretBag=5
1.9 +;SafeContentsBag=6
1.10 +
1.11 +[main]
1.12 +file=C:\tpkcs12intg\data\pkcs12_cb006.p12
1.13 +integritymode=password
1.14 +integritypassword=password
1.15 +PrivacyPassword1=password
1.16 +PrivacyPassword2=password
1.17 +verifyintegritypassword =password
1.18 +MacPresent=True
1.19 +
1.20 +integrity_valid=1
1.21 +unittest=True
1.22 +; optional / unit tests
1.23 +[MacData]
1.24 +Mac=c:\tpkcs12intg\data\cb006_mac
1.25 +MacSalt=c:\tpkcs12intg\data\cb006_macsalt
1.26 +IterationCount=2048
1.27 +ExpectedError=-6 ;KErrArgument
1.28 +
1.29 +[authsafe]
1.30 +numcontentinfos=2
1.31 +contentinfo1=ContentInfo_1
1.32 +contentinfo2=ContentInfo_2
1.33 +; optional / unit tests
1.34 +ExpectedError = -6;KErrArgument
1.35 +
1.36 +[ContentInfo_1]
1.37 +ContentInfoType=6
1.38 +;unit test/optional
1.39 +Cipher=12 ; ECipherRC2_CBC_40_5
1.40 +IV=
1.41 +Salt=07:EE:43:28:2E:FF:F9:D4
1.42 +IterationCount=2048
1.43 +ExpectedError1=-6; KErrArgument
1.44 +ExpectedError2=-5; KErrNotSupported
1.45 +
1.46 +[ContentInfo_2]
1.47 +ContentInfoType=6
1.48 +;unit test/optional
1.49 +Cipher=12 ; ECipherRC2_CBC_40_5
1.50 +IV=
1.51 +Salt=07:EE:43:28:2E:FF:F9:D4
1.52 +IterationCount=2048
1.53 +ExpectedError1=-6; KErrArgument
1.54 +ExpectedError2=-5; KErrNotSupported
1.55 +
1.56 +[BagData1]
1.57 +BagType=6
1.58 +SafeBagsCount=4
1.59 +
1.60 +[BagData2]
1.61 +BagType=1
1.62 +BagValue=c:\tpkcs12intg\data\root5ca_key.pk8
1.63 +numattributes=2
1.64 +attr1=bag2attr1
1.65 +attr2=bag2attr2
1.66 +;unit test/optional
1.67 +ExpectedError=-6; KErrArgument
1.68 +
1.69 +[bag2attr1]
1.70 +id=1.2.840.113549.1.9.21
1.71 +numvalues=1
1.72 +value1=c:\tpkcs12intg\data\cb006_localkeyid_firstkey.der
1.73 +
1.74 +[bag2attr2]
1.75 +id=1.2.840.113549.1.9.20
1.76 +numvalues=1
1.77 +value1=c:\tpkcs12intg\data\cb006_friendlyname_firstkey.der
1.78 +
1.79 +
1.80 +[BagData3]
1.81 +BagType=3
1.82 +BagValue=c:\tpkcs12intg\data\root5ca.der
1.83 +numattributes=2
1.84 +attr1=bag3attr1
1.85 +attr2=bag3attr2
1.86 +CertType=1.2.840.113549.1.9.22.1
1.87 +CertValue=
1.88 +;unit test/optional
1.89 +ExpectedError=-6 ; KErrArgument
1.90 +
1.91 +[bag3attr1]
1.92 +id=1.2.840.113549.1.9.21
1.93 +numvalues=1
1.94 +value1=c:\tpkcs12intg\data\cb006_localkeyid_firstcert.der
1.95 +
1.96 +[bag3attr2]
1.97 +id=1.2.840.113549.1.9.20
1.98 +numvalues=1
1.99 +value1=c:\tpkcs12intg\data\cb006_friendlyname_firstcert.der
1.100 +
1.101 +[BagData4]
1.102 +BagType=6
1.103 +SafeBagsCount=0
1.104 +
1.105 +[BagData5]
1.106 +BagType=2
1.107 +safeBagprivacypassword=password
1.108 +EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8
1.109 +numattributes=2
1.110 +attr1=bag5attr1
1.111 +attr2=bag5attr2
1.112 +;optional / unit tests
1.113 +
1.114 +ExpectedError1=-6 ; KErrArgument
1.115 +ExpectedError2=-5 ; KErrNotSupported
1.116 +
1.117 +[bag5attr1]
1.118 +id=1.2.840.113549.1.9.21
1.119 +numvalues=1
1.120 +value1=c:\tpkcs12intg\data\cb006_localkeyid_firstshrouded.der
1.121 +
1.122 +[bag5attr2]
1.123 +id=1.2.840.113549.1.9.20
1.124 +numvalues=1
1.125 +value1=c:\tpkcs12intg\data\cb006_friendlyname_firstshrouded.der
1.126 +
1.127 +[BagData6]
1.128 +BagType=6
1.129 +SafeBagsCount=4
1.130 +
1.131 +[BagData7]
1.132 +BagType=1
1.133 +BagValue=c:\tpkcs12intg\data\root5ca_key.pk8
1.134 +numattributes=2
1.135 +attr1=bag7attr1
1.136 +attr2=bag7attr2
1.137 +;unit test/optional
1.138 +ExpectedError=-6; KErrArgument
1.139 +
1.140 +[bag7attr1]
1.141 +id=1.2.840.113549.1.9.21
1.142 +numvalues=1
1.143 +value1=c:\tpkcs12intg\data\cb006_localkeyid_firstkey.der
1.144 +
1.145 +[bag7attr2]
1.146 +id=1.2.840.113549.1.9.20
1.147 +numvalues=1
1.148 +value1=c:\tpkcs12intg\data\cb006_friendlyname_firstkey.der
1.149 +
1.150 +[BagData8]
1.151 +BagType=3
1.152 +BagValue=c:\tpkcs12intg\data\root5ca.der
1.153 +numattributes=2
1.154 +attr1=bag8attr1
1.155 +attr2=bag8attr2
1.156 +CertType=1.2.840.113549.1.9.22.1
1.157 +CertValue=
1.158 +;unit test/optional
1.159 +ExpectedError=-6 ; KErrArgument
1.160 +
1.161 +[bag8attr1]
1.162 +id=1.2.840.113549.1.9.21
1.163 +numvalues=1
1.164 +value1=c:\tpkcs12intg\data\cb006_localkeyid_firstcert.der
1.165 +
1.166 +[bag8attr2]
1.167 +id=1.2.840.113549.1.9.20
1.168 +numvalues=1
1.169 +value1=c:\tpkcs12intg\data\cb006_friendlyname_firstcert.der
1.170 +
1.171 +[BagData9]
1.172 +BagType=6
1.173 +SafeBagsCount=0
1.174 +
1.175 +[BagData10]
1.176 +BagType=2
1.177 +safeBagprivacypassword=password
1.178 +EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8
1.179 +numattributes=2
1.180 +attr1=bag10attr1
1.181 +attr2=bag10attr2
1.182 +;optional / unit tests
1.183 +
1.184 +ExpectedError1=-6 ; KErrArgument
1.185 +ExpectedError2=-5 ; KErrNotSupported
1.186 +
1.187 +[bag10attr1]
1.188 +id=1.2.840.113549.1.9.21
1.189 +numvalues=1
1.190 +value1=c:\tpkcs12intg\data\cb006_localkeyid_firstshrouded.der
1.191 +
1.192 +[bag10attr2]
1.193 +id=1.2.840.113549.1.9.20
1.194 +numvalues=1
1.195 +value1=c:\tpkcs12intg\data\cb006_friendlyname_firstshrouded.der