code: def format_idp_cert_multi(self):
          
          if 'x509certMulti' in self.__idp:
              if 'signing' in self.__idp['x509certMulti']:
                  for idx in range(len(self.__idp['x509certMulti']['signing'])):
                      self.__idp['x509certMulti']['signing'][idx] = OneLogin_Saml2_Utils.format_cert(self.__idp['x509certMulti']['signing'][idx])
  
              if 'encryption' in self.__idp['x509certMulti']:
                  for idx in range(len(self.__idp['x509certMulti']['encryption'])):
                      self.__idp['x509certMulti']['encryption'][idx] = OneLogin_Saml2_Utils.format_cert(self.__idp['x509certMulti']['encryption'][idx])
docs: Formats the Multple IdP certs.