def initSecContext(target_name, cred=None, context=None, mech_type=None,
    flags=None, time=0, channel_bindings=None, input_token=None):
    """
    Initializes a GSS Security Context

    (Client)
    This method initializes a GSSAPI security context
    with the given parameters.  The default flags for
    the flags field are MUTUAL and SEQUENCE.

    :param target_name: the name of the target
                        (commonly the server name, retrieved using importName)
    :param cred: The handle for credentials claimed
                 (returned from acquireCred),
                 or None to use the default initiator principal
    :param context: The current context, or None if this is the first call
    :param mech_type: the mechanism type
                      (None for default, otherwise a capsule
                      from :func:`getMechanismType`)
    :param flags: the requested flags
    :type flags: [:class:`RequirementFlag`]
    :param int time: the requested TTL for this context
                     (0 uses the default TTL)
    :param channel_bindings: the requested input channel bindings
                             (currently only None is supported)
    :param bytes input_token: the input token (use None for the first call)
    :returns: a tuple containing
              the (potentially modified) context,
              the actual mechanism type used,
              the output token,
              the actual flags provided,
              the actual TTL for this context,
              and whether or not a continue is needed
              (i.e. (context, MechType, [RequirementFlag],
              bytes, TTL, continue_needed))
    :except GSSError:
    """
