Table of Contents

Class: GSSName ./pyGlobus/security.py

A proxy class for the underlying gss_name_t object.

Methods   
__del__
__init__
display
get_handle
  __del__ 
__del__ ( self )

Destroys an instance.

Deletes the underlying gss_name_t object, and free's the memory if the instance owns the underlying handle.

Raises:

A GSSNameException is raised if an error occurs in the underlying gss-api call.

Exceptions   
ex
  __init__ 
__init__ (
        self,
        handle=None,
        free=1,
        )

Constructs an instance.

Each instance wraps a gss_name_t object.

Arguments:

  • handle An optional argument that, if present, should contain a SWIG'ized pointer to a gss_name_t object.

  • free Should the underlying gss_name_t object be freed when an instance is destroyed.

  display 
display ( self )

Returns the name as a string.

Raises:

A GSSNameException is raised if an error occurs in the underlying gss-api call.

Returns:

A string containing the name.

Exceptions   
ex
  get_handle 
get_handle ( self )

XXX This handle is only valid as long as this object exists. When the object is destroyed, the memory this handle points to is freed if self._free is true.


Table of Contents

This document was automatically generated on Tue Feb 4 16:47:03 2003 by HappyDoc version 2.1