cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/pm002/encrypted_contentinfo.txt
author Santosh Patil <santosh.v.patil@nokia.com>
Wed, 08 Jul 2009 11:25:26 +0100
changeset 0 2c201484c85f
child 8 35751d3474b7
permissions -rw-r--r--
Move the Security package to EPL, and add the implementations of the cryptographic algorithms

// 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
// PARAM14: argument for safecontents
// PARAM15: argument for safecontents
// PARAM16: 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,$14,$15,$16
						END
					END
				END
			END
		END
	END	
END