NAME [Toc] [Back]
gss_process_context_token() - process a context to the security
SYNOPSIS [Toc] [Back]
OM_uint32 gss_process_context_token ( [Toc] [Back]
const gss_ctx_id_t *context_handle,
const gss_buffer_t input_token_buffer)
DESCRIPTION [Toc] [Back]
The gss_process_context_token() routine passes tokens generated by the
gss_delete_security_context() routine to the security service.
Usually, tokens are associated with either the context establishment
or with per-message security services. If the tokens are associated
with the context establishment, they are passed to the
gss_init_sec_context() or gss_accept_sec_context() routine. If the
tokens are associated with the per-message security service, they are
passed to the gss_verify() or gss_unseal() routine.
Tokens generated by the gss_delete_security_context() routine are
passed by the gss_process_context_token() routine to the security
service for processing.
Input Parameters [Toc] [Back]
context_handle Specifies the context handle on which the
security service processes the token.
input_token_buffer Specifies an opaque pointer to the first byte of
the token to be processed.
Output Parameters [Toc] [Back]
minor_status Returns a status code from the security
STATUS CODES [Toc] [Back]
The following status codes can be returned:
GSS_S_COMPLETE The routine was completed successfully.
GSS_S_DEFECTIVE_TOKEN Consistency checks performed on the
input_token parameter failed.
GSS_S_FAILURE The routine failed. See the minor_status
parameter return value for more information.
GSS_S_NO_CONTEXT The supplied context handle did not refer to
a valid context.
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
AUTHOR [Toc] [Back]
gss_process_context_token() was developed by Sun Microsystems, Inc.
SEE ALSO [Toc] [Back]
gss_init_sec_context(3), gss_verify_mic(3), gss_unseal(3).
The manpages for DCE-GSSAPI are included with the DCE-CoreTools
product. To see those manpages add /opt/dce/share/man to MANPATH.
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 [ Back ]