ONC+ RPC Developer's Guide

Exit Print View

Updated: July 2014
 
 

RPCSEC_GSS Routines

The following table summarizes RPCSEC_GSS commands. It is a general overview of RPCSEC_GSS functions, rather than a specific description of each one. For more information on each function, see its man page, or check the rpcsec_gss(3NSL) man page for an overview, including a list of RPCSEC_GSS data structures.

Table 5-2  RPCSEC_GSS Functions
Action
Function
Input
Output
Create a security context
CLIENT handle, principal name, mechanism, QOP, service type
AUTH handle
Change QOP, service type for context
Old QOP, service
New QOP, service
Show maximum size for data before security transformation
Maximum data size allowed by transport
Maximum pre-transformation data size
Show maximum size for data before security transformation
Maximum data size allowed by transport
Maximum pre-transformation data size
Set name of principals for server to represent
Principal name, RPC program, version #s
TRUE if successful
Fetch credentials of caller (client)
Pointer to svc_req structure
UNIX credentials, RPCSEC_GSS credentials, cookie
Specify user-written callback function
Pointer to callback function
TRUE if successful
Create RPCSEC_GSS structure for principal names from unique parameters
Mechanism, user name, machine name, domain name
RPCSEC_GSS principal name structure
Fetch an error code when an RPCSEC_GSS routine fails
RPCSEC_GSS error number, errno if applicable
Get strings for installed mechanisms
List of valid mechanisms
Get valid QOP strings
Mechanism
Valid QOPs for that mechanism
Get the highest, lowest version numbers of RPCSEC_GSS supported
Highest, lowest versions
Check if a mechanism is installed
Mechanism
TRUE if installed
Convert ASCII mechanism to RPC object identifier
Mechanism (as string)
Mechanism (as OID)
Convert ASCII QOP to integer
QOP (as string)
QOP (as integer)