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