cryptoservices/certificateandkeymgmt/tder/example/pkcs12_secret.txt
author andy simpson <andrews@symbian.org>
Fri, 20 Nov 2009 14:25:08 +0000
changeset 18 538fe06033d7
parent 8 35751d3474b7
permissions -rw-r--r--
merged 200945 drop

// PKCS#12 file that contains an example secret bag containing an Symbian
// DevCert IMEI constaint.

SEQUENCE
	// Version
	INTEGER=3

	// authSafe - PFX
	SEQUENCE
		OID=PKCS7_DATA
		EXPLICIT		
			OCTETSTRING
				OUTPUT_BINARY_FILE=authsafecontents.der,1
					// First PDU
					SEQUENCE
						INCLUDE=contentinfo.txt,safecontents.txt,safebag_secretbag.txt,11111111-222222-3-44
					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