| United States-English |
|
|
|
![]() |
HP-UX Reference > Rrpc_gss_seccreate(3N)HP-UX 11i Version 3: February 2007 |
|
NAMErpc_gss_seccreate() — create a security context using the RPCSEC_GSS protocol SYNOPSIS#include <rpc/rpcsec_gss.h> AUTH *rpc_gss_seccreate( CLIENT *clnt, char *principal, char *mechanism, rpc_gss_service_t service_type, char *qop, rpc_gss_options_req_t *options_req, rpc_gss_options_ret_t *options_ret); DESCRIPTIONrpc_gss_seccreate() is used by an application to create a security context using the RPCSEC_GSS protocol, making use of the underlying GSS-API network layer. rpc_gss_seccreate() 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. PARAMETERSInformation on RPCSEC_GSS data types for parameters may be found on the rpcsec_gss(3N) manpage.
MULTITHREAD USAGE
These functions can be called safely in a multithreaded environment. They may be cancellation points in that they call functions that are cancel points. In a multithreaded environment, these functions are not safe to be called by a child process after fork() and before exec(). These functions should not be called by a multithreaded application that supports asynchronous cancellation or asynchronous signals. RETURN VALUErpc_gss_seccreate() returns a security context handle (an RPC authentication handle) of type AUTH. If rpc_gss_seccreate() cannot return successfully, the application can get an error number by calling rpc_gss_get_error(). FILES
SEE ALSOauth_destroy(3N), rpc(3N), rpc_gss_get_error(3N), rpc_gss_get_mechanisms(3N), rpcsec_gss(3N), mech(4), qop(4). ONC+ Developer's Guide Network Working Group RFC 2078 |
||||||||||||||||||||||||||||
|
|||||||||||||||