cryptoservices/certificateandkeymgmt/tder/example/pkcs12_unencrypted.txt
author Santosh V Patil <santosh.v.patil@nokia.com>
Fri, 14 Aug 2009 11:20:13 +0530
changeset 3 d2beca08722f
parent 0 2c201484c85f
child 8 35751d3474b7
permissions -rw-r--r--
Added missed out swi certificate store data file (Bug 284)

// 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_certbag.txt,root5ca.der,Root5 CA
						INCLUDE=contentinfo.txt,safecontents.txt,safebag_keybag.txt,root5ca_key.pk8,root5ca.der,Root5 CA Key
					END
				END
			END
		END
	END

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