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

  man pages->Tru64 Unix man pages -> gss_display_name (3)              
Title
Content
Arch
Section
 

gss_display_name(3)

Contents


NAME    [Toc]    [Back]

       gss_display_name  -  Convert  internal  form name to plain
       text.

SYNOPSIS    [Toc]    [Back]

       #include <gssapi/gssapi.h>

       OM_uint32 gss_display_name(
               OM_uint32 * minor_status,
               const gss_name_t input_name,
               gss_buffer_t output_name_buffer,
               gss_OID * output_name_type );

PARAMETERS    [Toc]    [Back]

       Kerberos 5 error code.  Internal  form  name  to  be  displayed.


              The  application must obtain the internal form name
              beforehand using a call such as  gss_import_name().
              Buffer to receive the text string for the name.

              The  application  must free storage associated with
              this   name   after   use   with    a    call    to
              gss_release_buffer().   Name  type  of the returned
              name.  gss_import_name() lists the  supported  name
              types.  Specify  NULL  if  this  information is not
              needed.

              The returned gss_OID is a pointer into static storage
  and must be treated as read-only by the application.
 The application must not free it.

DESCRIPTION    [Toc]    [Back]

       The gss_display_name() function converts an internal  form
       name  to  text.  This  allows  an  application to obtain a
       printable representation of the internal name. The  syntax
       of  a printable name is defined by the GSS_KRB5_NT_PRINCIPAL_NAME
 name type.   gss_import_name()  contains  further
       details.

       The application must obtain the internal form name beforehand
 using a call such as gss_import_name().

       The printable name is placed in  a  buffer  that  must  be
       released with a call to gss_release_buffer() after use.

RETURN VALUES    [Toc]    [Back]

       GSS_S_BAD_NAME                  xx02xxxx
       GSS_S_CALL_INACCESSIBLE_READ    01xxxxxx
       GSS_S_CALL_INACCESSIBLE_WRITE   02xxxxxx
       GSS_S_COMPLETE                  00000000
       GSS_S_FAILURE                   xx0Dxxxx

PORTABILITY CONSIDERATIONS    [Toc]    [Back]

       Since  the  format  of  a printable name is specific to HP
       Application Security SDK, comparing  the  output  of  this
       function  should be avoided. Similarly, do not import this
       name using gss_import_name().



SEE ALSO    [Toc]    [Back]

      
      
       Functions:  gss_compare_name(3),       gss_export_name(3),
       gss_import_name(3), gss_release_buffer(3)



                                              gss_display_name(3)
[ Back ]
 Similar pages
Name OS Title
gss_import_name Tru64 Convert text name to internal form name.
gss_import_name HP-UX convert a printable name to an internal form
gss_canonicalize_name HP-UX convert an internal name to an internal mechanism name (MN) representation of an opaque internal name
XmTextGetSubstringWcs IRIX A Text function that retrieves a portion of a wide character internal text buffer
XmTextGetSubstringWcs HP-UX A Text function that retrieves a portion of a wide character internal text buffer
XmTextGetSubstringWcs Tru64 A Text function that retrieves a portion of a wide character internal text buffer
XmTextGetSubstring HP-UX A Text function that retrieves a copy of a portion of the internal text buffer
XmTextGetSubstring IRIX A Text function that retrieves a copy of a portion of the internal text buffer
XmTextGetSubstring Tru64 A Text function that retrieves a copy of a portion of the internal text buffer
cap_from_text IRIX convert a POSIX capabilities string to internal form, convert capabilities to a POSIX capabilities string, or
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service