os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/cb003.ini
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/cb003.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 +
1.12 +
1.13 +[main]
1.14 +file=C:\tpkcs12intg\data\pkcs12_cb003.p12
1.15 +integritymode=password
1.16 +integritypassword=password
1.17 +PrivacyPassword1=password
1.18 +PrivacyPassword2=password
1.19 +verifyintegritypassword =password
1.20 +MacPresent=True
1.21 +
1.22 +integrity_valid=1
1.23 +unittest=True
1.24 +; optional / unit tests
1.25 +[MacData]
1.26 +Mac=c:\tpkcs12intg\data\cb003_mac
1.27 +MacSalt=c:\tpkcs12intg\data\cb003_macsalt
1.28 +IterationCount=2048
1.29 +ExpectedError=-6 ; KErrArgument
1.30 +
1.31 +[authsafe]
1.32 +numcontentinfos=1
1.33 +contentinfo1=ContentInfo_1
1.34 +; optional / unit tests
1.35 +ExpectedError = -6;KErrArgument
1.36 +
1.37 +[ContentInfo_1]
1.38 +ContentInfoType=1
1.39 +privacypassword=password
1.40 +;unit test/optional
1.41 +ExpectedError1=-6; KErrArgument
1.42 +ExpectedError2=-5; KErrNotSupported
1.43 +
1.44 +[BagData1]
1.45 +BagType=6
1.46 +SafeBagsCount=3
1.47 +
1.48 +[BagData2]
1.49 +BagType=1
1.50 +BagValue=c:\tpkcs12intg\data\root5ca_key.pk8
1.51 +numattributes=2
1.52 +attr1=bag2attr1
1.53 +attr2=bag2attr2
1.54 +;unit test/optional
1.55 +ExpectedError=-6; KErrArgument
1.56 +
1.57 +
1.58 +[bag2attr1]
1.59 +id=1.2.840.113549.1.9.21
1.60 +numvalues=1
1.61 +value1=c:\tpkcs12intg\data\localkeyid.der
1.62 +
1.63 +[bag2attr2]
1.64 +id=1.2.840.113549.1.9.20
1.65 +numvalues=1
1.66 +value1=c:\tpkcs12intg\data\friendlyname.der
1.67 +
1.68 +
1.69 +[BagData3]
1.70 +BagType=3
1.71 +BagValue=c:\tpkcs12intg\data\root5ca.der
1.72 +numattributes=2
1.73 +attr1=bag3attr1
1.74 +attr2=bag3attr2
1.75 +CertType=1.2.840.113549.1.9.22.1
1.76 +CertValue=
1.77 +;unit test/optional
1.78 +ExpectedError=-6 ; KErrArgument
1.79 +
1.80 +[bag3attr1]
1.81 +id=1.2.840.113549.1.9.21
1.82 +numvalues=1
1.83 +value1=c:\tpkcs12intg\data\localkeyid.der
1.84 +
1.85 +[bag3attr2]
1.86 +id=1.2.840.113549.1.9.20
1.87 +numvalues=1
1.88 +value1=c:\tpkcs12intg\data\friendlyname.der
1.89 +
1.90 +
1.91 +[BagData4]
1.92 +BagType=2
1.93 +safeBagprivacypassword=password
1.94 +EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8
1.95 +numattributes=2
1.96 +attr1=bag4attr1
1.97 +attr2=bag4attr2
1.98 +;optional / unit tests
1.99 +
1.100 +;unit test/optional
1.101 +ExpectedError1=-6; KErrArgument
1.102 +ExpectedError2=-5; KErrNotSupported
1.103 +
1.104 +[bag4attr1]
1.105 +id=1.2.840.113549.1.9.21
1.106 +numvalues=1
1.107 +value1=c:\tpkcs12intg\data\localkeyid.der
1.108 +
1.109 +[bag4attr2]
1.110 +id=1.2.840.113549.1.9.20
1.111 +numvalues=1
1.112 +value1=c:\tpkcs12intg\data\friendlyname.der
1.113 +
1.114 +[BagData5]
1.115 +BagType=6
1.116 +SafeBagsCount=0
1.117 +
1.118 +[BagData6]
1.119 +BagType=6
1.120 +SafeBagsCount=5
1.121 +
1.122 +
1.123 +[BagData7]
1.124 +BagType=1
1.125 +BagValue=c:\tpkcs12intg\data\root5ca_key.pk8
1.126 +numattributes=2
1.127 +attr1=bag7attr1
1.128 +attr2=bag7attr2
1.129 +;unit test/optional
1.130 +ExpectedError=-6 ; KErrArgument
1.131 +
1.132 +[bag7attr1]
1.133 +id=1.2.840.113549.1.9.21
1.134 +numvalues=1
1.135 +value1=c:\tpkcs12intg\data\localkeyid.der
1.136 +
1.137 +[bag7attr2]
1.138 +id=1.2.840.113549.1.9.20
1.139 +numvalues=1
1.140 +value1=c:\tpkcs12intg\data\friendlyname.der
1.141 +
1.142 +[BagData8]
1.143 +BagType=3
1.144 +BagValue=c:\tpkcs12intg\data\root5ca.der
1.145 +numattributes=2
1.146 +attr1=bag8attr1
1.147 +attr2=bag8attr2
1.148 +CertType=1.2.840.113549.1.9.22.1
1.149 +;unit test/optional
1.150 +ExpectedError=-6 ; KErrArgument
1.151 +
1.152 +[bag8attr1]
1.153 +id=1.2.840.113549.1.9.21
1.154 +numvalues=1
1.155 +value1=c:\tpkcs12intg\data\localkeyid.der
1.156 +
1.157 +[bag8attr2]
1.158 +id=1.2.840.113549.1.9.20
1.159 +numvalues=1
1.160 +value1=c:\tpkcs12intg\data\friendlyname.der
1.161 +
1.162 +
1.163 +
1.164 +[BagData9]
1.165 +BagType=4 This is CRL bag, check for bagvalue, bagattributes
1.166 +;unit test/optional
1.167 +ExpectedError=-6 ; KErrArgument
1.168 +
1.169 +[BagData10]
1.170 +BagType=5 This is CRL bag, check for bagvalue, bagattributes
1.171 +;unit test/optional
1.172 +ExpectedError=-6 ; KErrArgument
1.173 +
1.174 +
1.175 +[BagData11]
1.176 +BagType=2
1.177 +password=password
1.178 +EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8
1.179 +numattributes=2
1.180 +attr1=bag11attr1
1.181 +attr2=bag11attr2
1.182 +;optional / unit tests
1.183 +
1.184 +ExpectedError1=-6 ; KErrArgument
1.185 +ExpectedError2=-5 ; KErrNotSupported
1.186 +
1.187 +[bag11attr1]
1.188 +id=1.2.840.113549.1.9.21
1.189 +numvalues=1
1.190 +value1=c:\tpkcs12intg\data\localkeyid.der
1.191 +
1.192 +[bag11attr2]
1.193 +id=1.2.840.113549.1.9.20
1.194 +numvalues=1
1.195 +value1=c:\tpkcs12intg\data\friendlyname.der