|
1 ;Keybag=1 |
|
2 ;ShroudedBag=2 |
|
3 ;Certbag=3 |
|
4 ;CrlBag=4 |
|
5 ;SecretBag=5 |
|
6 ;SafeContentsBag=6 |
|
7 |
|
8 |
|
9 |
|
10 [main] |
|
11 file=C:\tpkcs12intg\data\pkcs12_cb004.p12 |
|
12 integritymode=password |
|
13 integritypassword=password |
|
14 PrivacyPassword1=password |
|
15 PrivacyPassword2=password |
|
16 PrivacyPassword3=password |
|
17 verifyintegritypassword =password |
|
18 MacPresent=True |
|
19 |
|
20 integrity_valid=1 |
|
21 unittest=False |
|
22 ; optional / unit tests |
|
23 [MacData] |
|
24 Mac=c:\tpkcs12intg\data\cb004_mac |
|
25 MacSalt=c:\tpkcs12intg\data\cb004_macsalt |
|
26 IterationCount=2048 |
|
27 ExpectedError=-6 |
|
28 |
|
29 [authsafe] |
|
30 numcontentinfos=1 |
|
31 contentinfo1=ContentInfo_1 |
|
32 contentinfo2=ContentInfo_2 |
|
33 contentinfo3=ContentInfo_3 |
|
34 ; optional / unit tests |
|
35 ExpectedError = -6;KErrArgument |
|
36 |
|
37 [ContentInfo_1] |
|
38 ContentInfoType=6 |
|
39 ;unit test/optional |
|
40 Cipher=5 ; ECipherRC2_CBC_40 |
|
41 IV= |
|
42 Salt=07:EE:43:28:2E:FF:F9:D4 |
|
43 IterationCount=2048 |
|
44 ExpectedError1=-6; KErrArgument |
|
45 ExpectedError2=-5; KErrNotSupported |
|
46 |
|
47 [ContentInfo_2] |
|
48 ContentInfoType=6 |
|
49 ;unit test/optional |
|
50 Cipher=5 ; ECipherRC2_CBC_40 |
|
51 IV= |
|
52 Salt=07:EE:43:28:2E:FF:F9:D4 |
|
53 IterationCount=2048 |
|
54 ExpectedError1=-6; KErrArgument |
|
55 ExpectedError2=-5; KErrNotSupported |
|
56 |
|
57 [ContentInfo_3] |
|
58 ContentInfoType=6 |
|
59 ;unit test/optional |
|
60 Cipher=5 ; ECipherRC2_CBC_40 |
|
61 IV= |
|
62 Salt=07:EE:43:28:2E:FF:F9:D4 |
|
63 IterationCount=2048 |
|
64 ExpectedError1=-6; KErrArgument |
|
65 ExpectedError2=-5; KErrNotSupported |
|
66 |
|
67 |
|
68 [BagData1] |
|
69 BagType=1 |
|
70 BagValue=c:\tpkcs12intg\data\root5ca_key.pk8 |
|
71 numattributes=2 |
|
72 attr1=bag1attr1 |
|
73 attr2=bag1attr2 |
|
74 ;unit test/optional |
|
75 ExpectedError=-6; KErrArgument |
|
76 |
|
77 [bag1attr1] |
|
78 id=1.2.840.113549.1.9.21 |
|
79 numvalues=1 |
|
80 value1=c:\tpkcs12intg\data\cb004_localkeyid_firstkey.der |
|
81 |
|
82 [bag1attr2] |
|
83 id=1.2.840.113549.1.9.20 |
|
84 numvalues=1 |
|
85 value1=c:\tpkcs12intg\data\cb004_friendlyname_firstkey.der |
|
86 |
|
87 [BagData2] |
|
88 BagType=3 |
|
89 BagValue=c:\tpkcs12intg\data\root5ca.der |
|
90 numattributes=2 |
|
91 attr1=bag2attr1 |
|
92 attr2=bag2attr2 |
|
93 CertType=1.2.840.113549.1.9.22.1 |
|
94 CertValue= ; certvalue need to be checked |
|
95 ;unit test/optional |
|
96 ExpectedError=-6 ; KErrArgument |
|
97 |
|
98 [bag2attr1] |
|
99 id=1.2.840.113549.1.9.21 |
|
100 numvalues=1 |
|
101 value1=c:\tpkcs12intg\data\cb004_localkeyid_firstcert.der |
|
102 |
|
103 [bag2attr2] |
|
104 id=1.2.840.113549.1.9.20 |
|
105 numvalues=1 |
|
106 value1=c:\tpkcs12intg\data\cb004_friendlyname_firstcert.der |
|
107 |
|
108 [BagData3] |
|
109 BagType=2 |
|
110 safeBagprivacypassword=password |
|
111 EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8 |
|
112 numattributes=2 |
|
113 attr1=bag3attr1 |
|
114 attr2=bag3attr2 |
|
115 ;optional / unit tests |
|
116 |
|
117 ExpectedError1=-6 ; KErrArgument |
|
118 ExpectedError2=-5 ; KErrNotSupported |
|
119 |
|
120 [bag3attr1] |
|
121 id=1.2.840.113549.1.9.21 |
|
122 numvalues=1 |
|
123 value1=c:\tpkcs12intg\data\cb004_localkeyid_firstshrouded.der |
|
124 |
|
125 [bag3attr2] |
|
126 id=1.2.840.113549.1.9.20 |
|
127 numvalues=1 |
|
128 value1=c:\tpkcs12intg\data\cb004_friendlyname_firstshrouded.der |
|
129 |
|
130 [BagData4] |
|
131 BagType=1 |
|
132 BagValue=c:\tpkcs12intg\data\root5ca_key.pk8 |
|
133 numattributes=2 |
|
134 attr1=bag4attr1 |
|
135 attr2=bag4attr2 |
|
136 ;unit test/optional |
|
137 ExpectedError=-6 ; KErrArgument |
|
138 |
|
139 [bag4attr1] |
|
140 id=1.2.840.113549.1.9.21 |
|
141 numvalues=1 |
|
142 value1=c:\tpkcs12intg\data\cb004_localkeyid_secondkey.der |
|
143 |
|
144 [bag4attr2] |
|
145 id=1.2.840.113549.1.9.20 |
|
146 numvalues=1 |
|
147 value1=c:\tpkcs12intg\data\cb004_friendlyname_secondkey.der |
|
148 |
|
149 |
|
150 [BagData5] |
|
151 BagType=3 |
|
152 BagValue=c:\tpkcs12intg\data\root5ca.der |
|
153 numattributes=2 |
|
154 attr1=bag5attr1 |
|
155 attr2=bag5attr2 |
|
156 CertType=1.2.840.113549.1.9.22.1 |
|
157 CertValue= ; certvalue need to be checked |
|
158 ;unit test/optional |
|
159 ExpectedError=-6 ; KErrArgument |
|
160 |
|
161 [bag5attr1] |
|
162 id=1.2.840.113549.1.9.21 |
|
163 numvalues=1 |
|
164 value1=c:\tpkcs12intg\data\cb004_localkeyid_secondcert.der |
|
165 |
|
166 [bag5attr2] |
|
167 id=1.2.840.113549.1.9.20 |
|
168 numvalues=1 |
|
169 value1=c:\tpkcs12intg\data\cb004_friendlyname_secondcert.der |
|
170 |
|
171 |
|
172 |
|
173 [BagData6] |
|
174 BagType=4 ; This is CRL bag, check for bagvalue, bagattributes |
|
175 ;unit test/optional |
|
176 ExpectedError=-6 ; KErrArgument |
|
177 |
|
178 [BagData7] |
|
179 BagType=5 ; This is Secret bag, check for bagvalue, bagattributes |
|
180 ;unit test/optional |
|
181 ExpectedError=-6 ; KErrArgument |
|
182 |
|
183 |
|
184 |
|
185 [BagData8] |
|
186 BagType=2 |
|
187 safeBagprivacypassword=password |
|
188 EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8 |
|
189 numattributes=2 |
|
190 attr1=bag8attr1 |
|
191 attr2=bag8attr2 |
|
192 ;optional / unit tests |
|
193 ExpectedError1=-6 ; KErrArgument |
|
194 ExpectedError2=-5 ; KErrNotSupported |
|
195 |
|
196 [bag8attr1] |
|
197 id=1.2.840.113549.1.9.21 |
|
198 numvalues=1 |
|
199 value1=c:\tpkcs12intg\data\cb004_localkeyid_secondshrouded.der |
|
200 |
|
201 [bag8attr2] |
|
202 id=1.2.840.113549.1.9.20 |
|
203 numvalues=1 |
|
204 value1=c:\tpkcs12intg\data\cb004_friendlyname_secondshrouded.der |
|
205 |
|
206 [BagData9] |
|
207 BagType=4 ; This is CRL bag, check for bagvalue, bagattributes |
|
208 ;unit test/optional |
|
209 ExpectedError=-6 ; KErrArgument |
|
210 |
|
211 [BagData10] |
|
212 BagType=5 ; This is Secret bag, check for bagvalue, bagattributes |
|
213 ;unit test/optional |
|
214 ExpectedError=-6 ; KErrArgument |
|
215 |
|
216 |
|
217 |
|
218 |
|
219 |
|
220 |