original_docstring: 
      Creates device certificates from an already created intermediate certificate which exists in
      the demoCA/newcerts directory. Assumption that intermediate has already been created with the
      name 'intermediate_cert.pem' and the key file is 'intermediate_key.pem'
      Hence the intermediate password is known to whoever using this function.
  
      :param common_name: The common name for all device certificates. This will be appended by the
      index of the specific device for which the cert is being created.
      :param intermediate_password: The intermediate password which should be already known.
      :param device_password: The device cert password.
      :param key_size: Expected key size. Default is 4096.
      :param days: Expected days. Default is 30
      :param device_count: The count of devices for which certs needs to be created. Default is 1 device.
      
docstring: Creates device certificates from an already created intermediate certificate which exists in
  the demoCA/newcerts directory. Assumption that intermediate has already been created with the
  name 'intermediate_cert.pem' and the key file is 'intermediate_key.pem'
  Hence the intermediate password is known to whoever using this function.
docstring_tokens: Creates device certificates from an already created intermediate certificate which exists in the demoCA / newcerts directory . Assumption that intermediate has already been created with the name ' intermediate_cert . pem ' and the key file is ' intermediate_key . pem ' Hence the intermediate password is known to whoever using this function .
code: def call_device_cert_creation_from_pipeline(
      common_name, intermediate_password, device_password, key_size=4096, days=30, device_count=1
  ):
      """
      Creates device certificates from an already created intermediate certificate which exists in
      the demoCA/newcerts directory. Assumption that intermediate has already been created with the
      name 'intermediate_cert.pem' and the key file is 'intermediate_key.pem'
      Hence the intermediate password is known to whoever using this function.
  
      :param common_name: The common name for all device certificates. This will be appended by the
      index of the specific device for which the cert is being created.
      :param intermediate_password: The intermediate password which should be already known.
      :param device_password: The device cert password.
      :param key_size: Expected key size. Default is 4096.
      :param days: Expected days. Default is 30
      :param device_count: The count of devices for which certs needs to be created. Default is 1 device.
      """
      for index in range(0, device_count):
          index = index + 1
          print("creating device certificate for " + str(index))
          create_leaf_certificates(
              index,
              common_name_for_all_device=common_name,
              intermediate_password=intermediate_password,
              device_password=device_password,
              key_size=key_size,
              days=days,
          )
code_tokens: def call_device_cert_creation_from_pipeline ( common_name , intermediate_password , device_password , key_size = 4096 , days = 30 , device_count = 1 ) : for index in range ( 0 , device_count ) : index = index + 1 print ( "creating device certificate for " + str ( index ) ) create_leaf_certificates ( index , common_name_for_all_device = common_name , intermediate_password = intermediate_password , device_password = device_password , key_size = key_size , days = days , )
short_docstring: Creates device certificates from an already created intermediate certificate which exists in
  the demoCA/newcerts directory.
short_docstring_tokens: Creates device certificates from an already created intermediate certificate which exists in the demoCA / newcerts directory .
comment: """
      Creates device certificates from an already created intermediate certificate which exists in
      the demoCA/newcerts directory. Assumption that intermediate has already been created with the
      name 'intermediate_cert.pem' and the key file is 'intermediate_key.pem'
      Hence the intermediate password is known to whoever using this function.
  
      :param common_name: The common name for all device certificates. This will be appended by the
      index of the specific device for which the cert is being created.
      :param intermediate_password: The intermediate password which should be already known.
      :param device_password: The device cert password.
      :param key_size: Expected key size. Default is 4096.
      :param days: Expected days. Default is 30
      :param device_count: The count of devices for which certs needs to be created. Default is 1 device.
      """