cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/data/ini/cb004.ini
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 10 Sep 2009 14:01:51 +0300
changeset 8 35751d3474b7
parent 0 2c201484c85f
permissions -rw-r--r--
Revision: 200935

;Keybag=1
;ShroudedBag=2
;Certbag=3
;CrlBag=4
;SecretBag=5
;SafeContentsBag=6



[main]
file=C:\tpkcs12intg\data\pkcs12_cb004.p12
integritymode=password
integritypassword=password
PrivacyPassword1=password
PrivacyPassword2=password
PrivacyPassword3=password
verifyintegritypassword =password
MacPresent=True

integrity_valid=1
unittest=False
; optional / unit tests
[MacData]
Mac=c:\tpkcs12intg\data\cb004_mac
MacSalt=c:\tpkcs12intg\data\cb004_macsalt
IterationCount=2048
ExpectedError=-6

[authsafe]
numcontentinfos=1
contentinfo1=ContentInfo_1
contentinfo2=ContentInfo_2
contentinfo3=ContentInfo_3
; optional / unit tests
ExpectedError = -6;KErrArgument		

[ContentInfo_1]
ContentInfoType=6
;unit test/optional
Cipher=5 ; ECipherRC2_CBC_40
IV=
Salt=07:EE:43:28:2E:FF:F9:D4
IterationCount=2048
ExpectedError1=-6; KErrArgument
ExpectedError2=-5; KErrNotSupported

[ContentInfo_2]
ContentInfoType=6
;unit test/optional
Cipher=5 ; ECipherRC2_CBC_40
IV=
Salt=07:EE:43:28:2E:FF:F9:D4
IterationCount=2048
ExpectedError1=-6; KErrArgument
ExpectedError2=-5; KErrNotSupported

[ContentInfo_3]
ContentInfoType=6
;unit test/optional
Cipher=5 ; ECipherRC2_CBC_40
IV=
Salt=07:EE:43:28:2E:FF:F9:D4
IterationCount=2048
ExpectedError1=-6; KErrArgument
ExpectedError2=-5; KErrNotSupported


[BagData1]
BagType=1
BagValue=c:\tpkcs12intg\data\root5ca_key.pk8
numattributes=2
attr1=bag1attr1
attr2=bag1attr2
;unit test/optional
ExpectedError=-6; KErrArgument

[bag1attr1]
id=1.2.840.113549.1.9.21
numvalues=1
value1=c:\tpkcs12intg\data\cb004_localkeyid_firstkey.der

[bag1attr2]
id=1.2.840.113549.1.9.20
numvalues=1
value1=c:\tpkcs12intg\data\cb004_friendlyname_firstkey.der

[BagData2]
BagType=3
BagValue=c:\tpkcs12intg\data\root5ca.der
numattributes=2
attr1=bag2attr1
attr2=bag2attr2
CertType=1.2.840.113549.1.9.22.1
CertValue=			; certvalue need to be checked
;unit test/optional
ExpectedError=-6 ; KErrArgument

[bag2attr1]
id=1.2.840.113549.1.9.21
numvalues=1
value1=c:\tpkcs12intg\data\cb004_localkeyid_firstcert.der

[bag2attr2]
id=1.2.840.113549.1.9.20
numvalues=1
value1=c:\tpkcs12intg\data\cb004_friendlyname_firstcert.der

[BagData3]
BagType=2
safeBagprivacypassword=password
EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8
numattributes=2
attr1=bag3attr1
attr2=bag3attr2
;optional / unit tests

ExpectedError1=-6 ; KErrArgument
ExpectedError2=-5 ; KErrNotSupported

[bag3attr1]
id=1.2.840.113549.1.9.21
numvalues=1
value1=c:\tpkcs12intg\data\cb004_localkeyid_firstshrouded.der

[bag3attr2]
id=1.2.840.113549.1.9.20
numvalues=1
value1=c:\tpkcs12intg\data\cb004_friendlyname_firstshrouded.der

[BagData4]
BagType=1
BagValue=c:\tpkcs12intg\data\root5ca_key.pk8
numattributes=2
attr1=bag4attr1
attr2=bag4attr2
;unit test/optional
ExpectedError=-6 ; KErrArgument

[bag4attr1]
id=1.2.840.113549.1.9.21
numvalues=1
value1=c:\tpkcs12intg\data\cb004_localkeyid_secondkey.der

[bag4attr2]
id=1.2.840.113549.1.9.20
numvalues=1
value1=c:\tpkcs12intg\data\cb004_friendlyname_secondkey.der


[BagData5]
BagType=3
BagValue=c:\tpkcs12intg\data\root5ca.der
numattributes=2
attr1=bag5attr1
attr2=bag5attr2
CertType=1.2.840.113549.1.9.22.1
CertValue=			; certvalue need to be checked
;unit test/optional
ExpectedError=-6 ; KErrArgument

[bag5attr1]
id=1.2.840.113549.1.9.21
numvalues=1
value1=c:\tpkcs12intg\data\cb004_localkeyid_secondcert.der

[bag5attr2]
id=1.2.840.113549.1.9.20
numvalues=1
value1=c:\tpkcs12intg\data\cb004_friendlyname_secondcert.der



[BagData6]
BagType=4 ; This is CRL bag, check for bagvalue, bagattributes
;unit test/optional
ExpectedError=-6 ; KErrArgument

[BagData7]
BagType=5 ; This is Secret bag, check for bagvalue, bagattributes
;unit test/optional
ExpectedError=-6 ; KErrArgument



[BagData8]
BagType=2
safeBagprivacypassword=password
EncodedBagValue=c:\tpkcs12intg\data\root5ca_key.pk8
numattributes=2
attr1=bag8attr1
attr2=bag8attr2
;optional / unit tests
ExpectedError1=-6 ; KErrArgument
ExpectedError2=-5 ; KErrNotSupported

[bag8attr1]
id=1.2.840.113549.1.9.21
numvalues=1
value1=c:\tpkcs12intg\data\cb004_localkeyid_secondshrouded.der

[bag8attr2]
id=1.2.840.113549.1.9.20
numvalues=1
value1=c:\tpkcs12intg\data\cb004_friendlyname_secondshrouded.der

[BagData9]
BagType=4 ; This is CRL bag, check for bagvalue, bagattributes
;unit test/optional
ExpectedError=-6 ; KErrArgument

[BagData10]
BagType=5 ; This is Secret bag, check for bagvalue, bagattributes
;unit test/optional
ExpectedError=-6 ; KErrArgument