cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/pm009/pkcs12_certchain.txt
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 16:52:34 +0300
changeset 56 c11c717470d0
parent 8 35751d3474b7
permissions -rw-r--r--
Revision: 201015 Kit: 201015

// PKCS#12 file that contains a single certificate

SEQUENCE
	// Version
	INTEGER=3

	// authSafe - PFX
	SEQUENCE
		OID=PKCS7_DATA
		EXPLICIT		
			OCTETSTRING
				OUTPUT_BINARY_FILE=authsafecontents.der,1
					// First PDU
					SEQUENCE
						INCLUDE=encrypted_contentinfo.txt,83:8C:73:5E:D5:8F:75:82,1024,PKCS12_PBEIDS_SHAAND40BITRC2CBC,rc2-40-cbc,7ac90d74f3,279693846f79a545,../safecontents.txt,safebag_certbag.txt,cert-chain.der,Root5 CA
					END
				END
			END
		END
	END

	// macData
	SEQUENCE
		// DigestInfo
		SEQUENCE
			SEQUENCE
				OID=SHA1
				NULL
			END
			// DIGEST		
			OCTETSTRING
				OUTPUT_BINARY_FILE=pm009_mac,1
					HMAC=SHA1,d32b1bd3b5651123a1cb63a849f804cf6be9545c
						INCLUDE_BINARY_FILE=authsafecontents.der
					END
				END
			END		
		END		
		// macSalt
		OCTETSTRING
			OUTPUT_BINARY_FILE=pm009_macsalt,1
				RAW=95:5D:62:99:D3:31:50:57
			END
		END
		// iterations
		INTEGER=2048	
	END
END