|
gss_delete_sec_context(3)
Contents
|
gss_delete_sec_context - Release a security context.
#include <gssapi/gssapi.h>
OM_uint32 gss_delete_sec_context(
OM_uint32 * minor_status,
gss_ctx_id_t * context_handle,
gss_buffer_t output_token );
Kerberos 5 error code. Security context to be deleted.
After the context is deleted, this parameter is set to
GSS_C_NO_CONTEXT. Token to be sent to the peer application,
instructing it to delete the security context.
Specify GSS_C_NO_BUFFER to request local deletion
only. Output tokens are provided for Verson 1 compatibility.
The gss_delete_sec_context() function releases a security
context. The security context is then unusable for further
message protection.
Local data structures associated with the security context
are released. A delete token may be generated. The purpose
of the delete token is to tell the remote peer application
to delete its security context.
Note
This function removes the memory associated with the security
context, but it does not delete any credentials
stored in the cache.
GSS_S_CALL_INACCESSIBLE_READ 01xxxxxx
GSS_S_CALL_INACCESSIBLE_WRITE 02xxxxxx
GSS_S_COMPLETE 00000000
GSS_S_FAILURE xx0Dxxxx
GSS_S_NO_CONTEXT xx08xxxx
Functions: gss_accept_sec_context(3), gss_import_sec_context(3), gss_init_sec_context(3), gss_process_context_token(3)
gss_delete_sec_context(3)
[ Back ] |