os/security/cryptoservices/certificateandkeymgmt/tpkcs7/testdatainput/2key_tripledes/encrypted_contentinfo.txt
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
// An encrypted safe bag PKCS#7 encrypted data
sl@0
     2
// PARAM1: salt
sl@0
     3
// PARAM2: iteration count
sl@0
     4
// PARAM3: cipher_oid
sl@0
     5
// PARAM4: cipher
sl@0
     6
// PARAM5: key
sl@0
     7
// PARAM6: iv
sl@0
     8
// PARAM7: include file for safe contents
sl@0
     9
// PARAM8: argument for safecontents
sl@0
    10
// PARAM9: argument for safecontents
sl@0
    11
// PARAM10: argument for safecontents
sl@0
    12
// PARAM11: argument for safecontents
sl@0
    13
// PARAM12: argument for safecontents
sl@0
    14
// PARAM13: argument for safecontents
sl@0
    15
OUTPUT_BINARY_FILE=sha1and2_keytripledes.der,1
sl@0
    16
	SEQUENCE
sl@0
    17
		OID=PKCS7_ENCRYPTEDDATA
sl@0
    18
		EXPLICIT		
sl@0
    19
			SEQUENCE
sl@0
    20
				INTEGER=0
sl@0
    21
				SEQUENCE
sl@0
    22
					OID=PKCS7_data
sl@0
    23
					SEQUENCE
sl@0
    24
						OID=$3
sl@0
    25
						SEQUENCE
sl@0
    26
							OCTETSTRING
sl@0
    27
								OUTPUT_BINARY_FILE=sha1and2_keytripledes_salt.der,1
sl@0
    28
								RAW=$1
sl@0
    29
								END
sl@0
    30
							END
sl@0
    31
							INTEGER=$2
sl@0
    32
						END
sl@0
    33
					END
sl@0
    34
					IMPLICIT=0
sl@0
    35
						OCTETSTRING
sl@0
    36
							OUTPUT_BINARY_FILE=sha1and2_keytripledes_encryptedcontent.der,1
sl@0
    37
	  							ENCRYPT=$4,$5,$6
sl@0
    38
									INCLUDE=$7,$8,$9,$10,$11,$12,$13
sl@0
    39
								END
sl@0
    40
							END
sl@0
    41
						END
sl@0
    42
					END
sl@0
    43
				END
sl@0
    44
			END
sl@0
    45
		END	
sl@0
    46
	END
sl@0
    47
END
sl@0
    48