code: def process_ldiff(self, data, name):
          
          from cryptography.x509.base import load_der_x509_certificate
          reg = re.compile(r'binary::\s*([0-9a-zA-Z+/=\s\t\r\n]{20,})$', re.MULTILINE | re.DOTALL)
          matches = re.findall(reg, str(data))
  
          ret = []
          num_certs_found = 0
          for idx, match in enumerate(matches):
              match = re.sub('[\r\t\n\s]', '', match)
              try:
                  bindata = base64.b64decode(match)
                  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 ldiff file processing %s, idx %s, matchlen %s : %s'
                               % (name, idx, len(match), e))
                  self.trace_logger.log(e)
          return ret
docs: Processes LDAP output
          field;binary::blob
          :param data:
          :param name:
          :return: