cryptoservices/certificateandkeymgmt/tder/example/encrypted_contentinfo.txt
author asimpson@symbian.org
Thu, 15 Oct 2009 17:48:29 +0100
branchRCL_1
changeset 13 e60b2dbc57a0
parent 0 2c201484c85f
child 8 35751d3474b7
permissions -rw-r--r--
Added tag PDK_2.0.0 for changeset 1d329321bec7

// An encrypted safe bag PKCS#7 encrypted data
// PARAM1: salt
// PARAM2: iteration count
// PARAM3: cipher_oid
// PARAM4: cipher
// PARAM5: key
// PARAM6: iv
// PARAM7: include file for safe contents
// PARAM8: argument for safecontents
// PARAM9: argument for safecontents
// PARAM10: argument for safecontents
// PARAM11: argument for safecontents
// PARAM12: argument for safecontents
// PARAM13: argument for safecontents
SEQUENCE
	OID=PKCS7_ENCRYPTEDDATA
	EXPLICIT		
		SEQUENCE
			INTEGER=0
			SEQUENCE
				OID=PKCS7_data
				SEQUENCE
					OID=$3
					SEQUENCE
						OCTETSTRING
							RAW=$1
						END
						INTEGER=$2
					END
				END
				IMPLICIT=0
					OCTETSTRING
	  					ENCRYPT=$4,$5,$6
							INCLUDE=$7,$8,$9,$10,$11,$12,$13
						END
					END
				END
			END
		END
	END	
END