code: def sign_assertion_using_xmlsec(self, statement, **kwargs):
          
          return self.sign_statement(
                  statement, class_name(saml.Assertion()), **kwargs)
docs: Deprecated function. See sign_assertion().