cryptoservices/certificateandkeymgmt/tder/example/safebag_keybag.txt
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 // SafeContents
       
     2 // PARAM1: The filename of the DER encoded keyfile
       
     3 // PARAM2: The name of the associated certificate file
       
     4 // PARAM3: The 'friendly' name of the certificate
       
     5 // SafeBag
       
     6 SEQUENCE
       
     7 	OID=PKCS12_BAGTYPES_KEYBAG
       
     8 	EXPLICIT
       
     9 		INCLUDE_BINARY_FILE=$1
       
    10 	END
       
    11 	// Attributes
       
    12 	SET
       
    13 		SEQUENCE
       
    14 			OID=PKCS9_LOCAL_KEYID
       
    15 			SET				
       
    16 				OCTETSTRING
       
    17 					HASH=sha1
       
    18 						INCLUDE_BINARY_FILE=$2
       
    19 					END
       
    20 				END
       
    21 			END
       
    22 		END 
       
    23 		SEQUENCE
       
    24 			OID=PKCS9_FRIENDLY_NAME
       
    25 			SET
       
    26 				BMPSTRING=$3
       
    27 			END
       
    28 		END	
       
    29 	END
       
    30 END
       
    31 
       
    32