cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/ci002/pkcs12_ci002.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_ci002.txt,../safecontents.txt,safebag_keybag_ci002.txt,../root5ca_key.pk8,../root5ca.der,symbian
					END
				END
			END
		END
	END

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