os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/cb005.ini
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/cb005.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,190 @@
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_CB005.p12
1.13 +integritymode=password
1.14 +integritypassword=password
1.15 +PrivacyPassword1=password
1.16 +verifyintegritypassword =password
1.17 +MacPresent=True
1.18 +
1.19 +integrity_valid=1
1.20 +unittest=True
1.21 +; optional / unit tests
1.22 +[MacData]
1.23 +Mac=c:\tpkcs12intg\data\cb005_mac
1.24 +MacSalt=c:\tpkcs12intg\data\cb005_macsalt
1.25 +IterationCount=2048
1.26 +ExpectedError=-6 ;KErrArgument
1.27 +
1.28 +[authsafe]
1.29 +numcontentinfos=1
1.30 +contentinfo1=ContentInfo_1
1.31 +; optional / unit tests
1.32 +ExpectedError = -6;KErrArgument
1.33 +
1.34 +[ContentInfo_1]
1.35 +ContentInfoType=6
1.36 +;unit test/optional
1.37 +Cipher=5 ; ECipherRC2_CBC_40
1.38 +IV=
1.39 +Salt=07:EE:43:28:2E:FF:F9:D4
1.40 +IterationCount=2048
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 +
1.49 +[BagData2]
1.50 +BagType=1
1.51 +BagValue=c:\tpkcs12intg\data\root5ca_key.pk8
1.52 +numattributes=2
1.53 +attr1=bag2attr1
1.54 +attr2=bag2attr2
1.55 +;unit test/optional
1.56 +ExpectedError=-6; KErrArgument
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\cb005_localkeyid_firstkey.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\cb005_friendlyname_firstkey.der
1.67 +
1.68 +
1.69 +[BagData3]
1.70 +BagType=3
1.71 +BagValue=c:\tpkcs12intg\data\root5ca.der
1.72 +BagAttributeCount=2
1.73 +numattributes=2
1.74 +attr1=bag3attr1
1.75 +attr2=bag3attr2
1.76 +CertType=1.2.840.113549.1.9.22.1
1.77 +CertValue= ; certvalue need to be checked
1.78 +;unit test/optional
1.79 +ExpectedError=-6 ; KErrArgument
1.80 +
1.81 +[bag3attr1]
1.82 +id=1.2.840.113549.1.9.21
1.83 +numvalues=1
1.84 +value1=c:\tpkcs12intg\data\cb005_localkeyid_firstcertbag.der
1.85 +
1.86 +[bag3attr2]
1.87 +id=1.2.840.113549.1.9.20
1.88 +numvalues=1
1.89 +value1=c:\tpkcs12intg\data\cb005_friendlyname_firstcertbag.der
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 +ExpectedError1=-6 ; KErrArgument
1.101 +ExpectedError2=-5 ; KErrNotSupported
1.102 +
1.103 +[bag4attr1]
1.104 +id=1.2.840.113549.1.9.21
1.105 +numvalues=1
1.106 +value1=c:\tpkcs12intg\data\cb005_localkeyid_firstshrouded.der
1.107 +
1.108 +[bag4attr2]
1.109 +id=1.2.840.113549.1.9.20
1.110 +numvalues=1
1.111 +value1=c:\tpkcs12intg\data\cb005_friendlyname_firstshrouded.der
1.112 +
1.113 +[BagData5]
1.114 +BagType=6
1.115 +SafeBagsCount=0
1.116 +
1.117 +[BagData6]
1.118 +BagType=6
1.119 +SafeBagsCount=5
1.120 +
1.121 +[BagData7]
1.122 +BagType=1
1.123 +BagValue=c:\tpkcs12intg\data\root5ca_key.pk8
1.124 +numattributes=2
1.125 +attr1=bag7attr1
1.126 +attr2=bag7attr2
1.127 +;unit test/optional
1.128 +ExpectedError=-6; KErrArgument
1.129 +
1.130 +[bag7attr1]
1.131 +id=1.2.840.113549.1.9.21
1.132 +numvalues=1
1.133 +value1=c:\tpkcs12intg\data\cb005_localkeyid_secondkey.der
1.134 +
1.135 +[bag7attr2]
1.136 +id=1.2.840.113549.1.9.20
1.137 +numvalues=1
1.138 +value1=c:\tpkcs12intg\data\cb005_friendlyname_secondkey.der
1.139 +
1.140 +
1.141 +[BagData8]
1.142 +BagType=3
1.143 +BagValue=c:\tpkcs12intg\data\root5ca.der
1.144 +numattributes=2
1.145 +attr1=bag8attr1
1.146 +attr2=bag8attr2
1.147 +CertType=1.2.840.113549.1.9.22.1
1.148 +CertValue= ; certvalue need to be checked
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\cb005_localkeyid_secondcert.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\cb005_friendlyname_secondcert.der
1.161 +
1.162 +[BagData9]
1.163 +BagType=4 ; This is CRL bag, check for bagvalue, bagattributes
1.164 +;unit test/optional
1.165 +ExpectedError=-6 ; KErrArgument
1.166 +
1.167 +[BagData10]
1.168 +BagType=5 ; This is CRL bag, check for bagvalue, bagattributes
1.169 +;unit test/optional
1.170 +ExpectedError=-6 ; KErrArgument
1.171 +
1.172 +
1.173 +[BagData11]
1.174 +BagType=2
1.175 +safeBagprivacypassword=password
1.176 +EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8
1.177 +numattributes=2
1.178 +attr1=bag11attr1
1.179 +attr2=bag11attr2
1.180 +;optional / unit tests
1.181 +
1.182 +ExpectedError1=-6 ; KErrArgument
1.183 +ExpectedError2=-5 ; KErrNotSupported
1.184 +
1.185 +[bag11attr1]
1.186 +id=1.2.840.113549.1.9.21
1.187 +numvalues=1
1.188 +value1=c:\tpkcs12intg\data\cb005_localkeyid_secondshrouded.der
1.189 +
1.190 +[bag11attr2]
1.191 +id=1.2.840.113549.1.9.20
1.192 +numvalues=1
1.193 +value1=c:\tpkcs12intg\data\cb005_friendlyname_secondshrouded.der
1.194 \ No newline at end of file