Package pyGlobus :: Module security :: Class GSSName
[show private | hide private]
[frames | no frames]

Class GSSName


A class for the underlying gss_name_t object.
Method Summary
  __init__(self, handle, free)
Return none
  __del__(self)
Destroys an instance.
  display(self)
Returns the name as a string.
  get_handle(self)

Method Details

__init__(self, handle=None, free=1)
(Constructor)

Parameters:
handle - An optional argument that, if present, should contain a SWIG'ized pointer to a gss_name_t object. It defaults to a pointer to a GSS_C_NO_NAME
free - Should the underlying gss_name_t object be freed when an instance is destroyed.
Returns:

None

None

__del__(self)
(Destructor)

Destroys an instance.

Deletes the underlying gss_name_t object, and free's the memory if the instance owns the underlying handle.
Raises:
GSSNameException - A GSSNameException is raised if an error occurs in the underlying gss-api call.

display(self)

Returns the name as a string.
Returns:
A string containing the name.
Raises:
GSSNameException - A GSSNameException is raised if an error occurs in the underlying gss-api call.

Generated by Epydoc 2.1 on Tue Apr 4 14:32:55 2006 http://epydoc.sf.net