cryptoservices/certificateandkeymgmt/tder/example/encrypted_contentinfo.txt
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 // An encrypted safe bag PKCS#7 encrypted data
       
     2 // PARAM1: salt
       
     3 // PARAM2: iteration count
       
     4 // PARAM3: cipher_oid
       
     5 // PARAM4: cipher
       
     6 // PARAM5: key
       
     7 // PARAM6: iv
       
     8 // PARAM7: include file for safe contents
       
     9 // PARAM8: argument for safecontents
       
    10 // PARAM9: argument for safecontents
       
    11 // PARAM10: argument for safecontents
       
    12 // PARAM11: argument for safecontents
       
    13 // PARAM12: argument for safecontents
       
    14 // PARAM13: argument for safecontents
       
    15 SEQUENCE
       
    16 	OID=PKCS7_ENCRYPTEDDATA
       
    17 	EXPLICIT		
       
    18 		SEQUENCE
       
    19 			INTEGER=0
       
    20 			SEQUENCE
       
    21 				OID=PKCS7_data
       
    22 				SEQUENCE
       
    23 					OID=$3
       
    24 					SEQUENCE
       
    25 						OCTETSTRING
       
    26 							RAW=$1
       
    27 						END
       
    28 						INTEGER=$2
       
    29 					END
       
    30 				END
       
    31 				IMPLICIT=0
       
    32 					OCTETSTRING
       
    33 	  					ENCRYPT=$4,$5,$6
       
    34 							INCLUDE=$7,$8,$9,$10,$11,$12,$13
       
    35 						END
       
    36 					END
       
    37 				END
       
    38 			END
       
    39 		END
       
    40 	END	
       
    41 END
       
    42