code: def export(self, composite=False):
          
  
          if composite:
              if rname_rfc6680 is None:
                  raise NotImplementedError("Your GSSAPI implementation does "
                                            "not support RFC 6680 (the GSSAPI "
                                            "naming extensions)")
  
              return rname_rfc6680.export_name_composite(self)
          else:
              return rname.export_name(self)
docs: Export this name as a token.
  
          This method exports the name into a byte string which can then be
          imported by using the `token` argument of the constructor.
  
          Args:
              composite (bool): whether or not use to a composite token --
                  :requires-ext:`rfc6680`
  
          Returns:
              bytes: the exported name in token form
  
          Raises:
              MechanismNameRequiredError
              BadNameTypeError
              BadNameError