cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/pm001/safebag_shroudedkeybag.txt
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 // SafeContents
       
     2 // PARAM1: salt
       
     3 // PARAM2: iteration count
       
     4 // PARAM3: cipher_oid
       
     5 // PARAM4: cipher
       
     6 // PARAM5: key
       
     7 // PARAM6: iv
       
     8 // PARAM7: The filename of the DER encoded keyfile
       
     9 // PARAM8: The name of the certificate file
       
    10 // PARAM9: The 'friendly' name of the certificate
       
    11 // SafeBag
       
    12 SEQUENCE
       
    13 	OID=PKCS12_BAGTYPES_PKCS8SHROUDEDKEYBAG
       
    14 	EXPLICIT
       
    15 		OUTPUT_BINARY_FILE=safebag_shrouded_pm001.der,1
       
    16 			// KeyBag
       
    17 			SEQUENCE
       
    18 				SEQUENCE
       
    19 					OID=$3
       
    20 					SEQUENCE
       
    21 						OCTETSTRING
       
    22 							RAW=$1
       
    23 						END
       
    24 						INTEGER=$2
       
    25 					END
       
    26 				END
       
    27 				OCTETSTRING
       
    28 					ENCRYPT=$4,$5,$6
       
    29 						INCLUDE_BINARY_FILE=$7
       
    30 					END	
       
    31 				END
       
    32 			END
       
    33 		END
       
    34 	END
       
    35 	// Attributes
       
    36 	SET
       
    37 		SEQUENCE
       
    38 			OID=PKCS9_LOCAL_KEYID
       
    39 			SET	
       
    40 				OUTPUT_BINARY_FILE=localkeyid_pm001_shrouded.der,1			
       
    41 					OCTETSTRING
       
    42 						HASH=sha1
       
    43 							INCLUDE_BINARY_FILE=$8
       
    44 						END
       
    45 					END
       
    46 				END
       
    47 			END
       
    48 		END 
       
    49 		SEQUENCE
       
    50 			OID=PKCS9_FRIENDLY_NAME
       
    51 			SET
       
    52 				OUTPUT_BINARY_FILE=friendlyname_pm001_shrouded.der,1
       
    53 				BMPSTRING=symbian
       
    54 			END
       
    55 		END	
       
    56 	END
       
    57 END
       
    58 
       
    59