cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/pm010/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_pm010.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 				OCTETSTRING
       
    41 					HASH=sha1
       
    42 						INCLUDE_BINARY_FILE=$8
       
    43 					END
       
    44 				END
       
    45 			END
       
    46 		END 
       
    47 		SEQUENCE
       
    48 			OID=PKCS9_FRIENDLY_NAME
       
    49 			SET
       
    50 				BMPSTRING=symbian
       
    51 			END
       
    52 		END	
       
    53 	END
       
    54 END
       
    55 
       
    56