;Keybag=1
;ShroudedBag=2
;Certbag=3
;CrlBag=4
;SecretBag=5
;SafeContentsBag=6
[main]
file=C:\tpkcs12intg\data\pkcs12_sb003.p12
integritymode=password
integritypassword=password
PrivacyPassword1=password
verifyintegritypassword =password
MacPresent=True
integrity_valid=1
unittest=True
; optional / unit tests
[MacData]
Mac=c:\tpkcs12intg\data\sb003_mac
MacSalt=c:\tpkcs12intg\data\sb003_macsalt
IterationCount=2048
ExpectedError=-6 ;KErrArgument
[authsafe]
numcontentinfos=1
contentinfo1=ContentInfo_1
; optional / unit tests
ExpectedError=-6 ;KErrArgument
[ContentInfo_1]
ContentInfoType=1
; optional / unit tests
ExpectedError=-6 ;KErrArgument
ExpectedError2=-5; KErrNotSupported
;SafeContentsBag=6
[BagData1]
BagType=6
SafeBagsCount=6
;KeyBag=1
[BagData2]
BagType=1
BagValue=c:\tpkcs12intg\data\root5ca_key.pk8
EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8
numattributes=2
attr1=bag2attr1
attr2=bag2attr2
;unit test/optional
ExpectedError=-6; KErrArgument
[bag2attr1]
id=1.2.840.113549.1.9.21
numvalues=1
value1=c:\tpkcs12intg\data\localkeyid.der
[bag2attr2]
id=1.2.840.113549.1.9.20
numvalues=1
value1=c:\tpkcs12intg\data\friendlyname.der
[BagData3]
BagType=1
BagValue=c:\tpkcs12intg\data\root5ca_key.pk8
numattributes=2
attr1=bag3attr1
attr2=bag3attr2
;unit test/optional
ExpectedError=-6; KErrArgument
[bag3attr1]
id=1.2.840.113549.1.9.21
numvalues=1
value1=c:\tpkcs12intg\data\localkeyid.der
[bag3attr2]
id=1.2.840.113549.1.9.20
numvalues=1
value1=c:\tpkcs12intg\data\friendlyname.der
;Certbag=3
[BagData4]
BagType=3
BagValue=c:\tpkcs12intg\data\root5ca.der
CertType=1.2.840.113549.1.9.22.1
numattributes=2
attr1=bag4attr1
attr2=bag4attr2
CertValue=
;unit test/optional
ExpectedError=-6 ; KErrArgument
[bag4attr1]
id=1.2.840.113549.1.9.21
numvalues=1
value1=c:\tpkcs12intg\data\localkeyid.der
[bag4attr2]
id=1.2.840.113549.1.9.20
numvalues=1
value1=c:\tpkcs12intg\data\friendlyname.der
;ShroudedKeybag=2
[BagData5]
BagType=2
safeBagprivacypassword=password
BagValue=c:\tpkcs12intg\data\safebag.der
EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8
numattributes=2
attr1=bag5attr1
attr2=bag5attr2
;optional / unit tests
PrivateKeyInfoVersion=
PrivateKeyInfoAlgorithm=
PrivateKey=
ExpectedError1=-6 ; KErrArgument
ExpectedError2=-5 ; KErrNotSupported
[bag5attr1]
id=1.2.840.113549.1.9.21
numvalues=1
value1=c:\tpkcs12intg\data\localkeyid.der
[bag5attr2]
id=1.2.840.113549.1.9.20
numvalues=1
value1=c:\tpkcs12intg\data\friendlyname.der
[BagData6]
BagType=2
safeBagprivacypassword=password
EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8
numattributes=2
attr1=bag6attr1
attr2=bag6attr2
;optional / unit tests
PrivateKeyInfoVersion=
PrivateKeyInfoAlgorithm=
PrivateKey=
ExpectedError1=-6 ; KErrArgument
ExpectedError2=-5 ; KErrNotSupported
[bag6attr1]
id=1.2.840.113549.1.9.21
numvalues=1
value1=c:\tpkcs12intg\data\localkeyid.der
[bag6attr2]
id=1.2.840.113549.1.9.20
numvalues=1
value1=c:\tpkcs12intg\data\friendlyname.der
[BagData7]
BagType=2
safeBagprivacypassword=password
EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8
numattributes=2
attr1=bag7attr1
attr2=bag7attr2
;optional / unit tests
PrivateKeyInfoVersion=
PrivateKeyInfoAlgorithm=
PrivateKey=
ExpectedError1=-6 ; KErrArgument
ExpectedError2=-5 ; KErrNotSupported
[bag7attr1]
id=1.2.840.113549.1.9.21
numvalues=1
value1=c:\tpkcs12intg\data\localkeyid.der
[bag7attr2]
id=1.2.840.113549.1.9.20
numvalues=1
value1=c:\tpkcs12intg\data\friendlyname.der