rpc_gss_seccreate() — create a security context using the RPCSEC_GSS protocol
is used by an application to create a security context using the
protocol, making use of the underlying
allows an application to specify the type of security mechanism (for example,
Kerberos v5), the type of service (for example, integrity checking) and the
Quality of Protection (QOP) desired for transferring data.
data types for parameters may be found on the
This is the RPC client handle.
may be obtained, for example, from
This is the identity of the server principal, specified in the form
is the name of the service the client wishes to access and
is the fully qualified name of the host where the service resides
This is an ASCII string which indicates which security mechanism to
use with this data.
Appropriate mechanisms may be found in the file
returns a list of supported security mechanisms as NULL-terminated
This sets the initial type of service for the session:
privacy, integrity, authentication, or none.
This is an ASCII string which sets the quality of protection (QOP)
for the session.
Appropriate values for this string may be found in the file
Additionally, supported QOPs are returned as NULL-terminated strings by
This structure contains options which are passed directly to the
If the caller specifies NULL for this parameter, defaults are used.
options are returned to the caller.
If the caller does not need to see these options, then it may specify NULL
for this parameter.
- Thread Safe:
- Cancel Safe:
- Fork Safe:
- Async-cancel Safe:
- Async-signal Safe:
These functions can be called safely in a multithreaded environment.
They may be cancellation points in that they call functions that are
In a multithreaded environment, these functions are
not safe to be called by a child process after
These functions should not be called by a multithreaded application
that supports asynchronous cancellation or asynchronous signals.
returns a security context handle (an RPC authentication handle) of type
cannot return successfully, the application can get an error number by calling
Contexts may be destroyed normally, with
File containing valid security mechanisms.
File containing valid QOP values.