code: def process_js_certs(self, data, name, idx, sub_idx):
          
          from cryptography.x509.base import load_der_x509_certificate
  
          ret = []
          for crt_hex in data:
              try:
                  bindata = base64.b64decode(crt_hex)
                  x509 = load_der_x509_certificate(bindata, self.get_backend())
  
                  self.num_ldiff_cert += 1
                  sub = self.process_x509(x509, name=name, pem=False, source='ldiff-cert')
                  ret.append(sub)
  
              except Exception as e:
                  logger.debug('Error in line JSON cert file processing %s, idx %s, subidx %s : %s'
                               % (name, idx, sub_idx, e))
                  self.trace_logger.log(e)
          return ret
docs: Process one certificate from JSON
          :param data:
          :param name:
          :param idx:
          :param sub_idx:
          :return: