cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/im002/pkcs12_im002.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 a certificate and matching key without any PBE privacy enabled.

SEQUENCE
	// Version
	INTEGER=3

	// authSafe - PFX
	SEQUENCE
		OID=PKCS7_DATA
		EXPLICIT		
			OCTETSTRING
				OUTPUT_BINARY_FILE=authsafecontents.der,1					
					// AuthenticatedSafe
					SEQUENCE						
												INCLUDE=../contentinfo.txt,../safecontents.txt,safebag_keybag_im002.txt,../symbiantestrootcadsa_key.pk8,../mycert.der,KeyBag with DSA KEY
					END
				END
			END
		END
	END

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