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