*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> gss_delete_sec_context (3)              



NAME    [Toc]    [Back]

       gss_delete_sec_context - Release a security context.

SYNOPSIS    [Toc]    [Back]

       #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 );

PARAMETERS    [Toc]    [Back]

       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.

DESCRIPTION    [Toc]    [Back]

       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.


       This function removes the memory associated with the security
 context, but  it  does  not  delete  any  credentials
       stored in the cache.

RETURN VALUES    [Toc]    [Back]

       GSS_S_COMPLETE                  00000000
       GSS_S_FAILURE                   xx0Dxxxx
       GSS_S_NO_CONTEXT                xx08xxxx

SEE ALSO    [Toc]    [Back]

       Functions:  gss_accept_sec_context(3), gss_import_sec_context(3),     gss_init_sec_context(3),     gss_process_context_token(3)

[ Back ]
 Similar pages
Name OS Title
gss_init_sec_context HP-UX establish a security context between the context initiator and a context acceptor
gss_accept_sec_context HP-UX establish a security context between the application and a context acceptor
gss_delete_sec_context HP-UX delete a security context
csf_gss_get_context_options Tru64 Obtain information about a security context
gss_inquire_context HP-UX obtain information about a security context
gss_process_context_token HP-UX process a context to the security service
gss_export_sec_context Tru64 Prepare security context for transfer to another process.
gss_inquire_context Tru64 Obtain information about an existing security context.
gss_init_sec_context Tru64 Initiate a security context between an application and its peer.
gss_accept_sec_context Tru64 Establish a remotely-initiated security context.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service