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