Rudiments
|
#include <gss.h>
Inherits object.
Public Member Functions | |
gssmechanism () | |
~gssmechanism () | |
bool | open (const char *str) |
bool | open (const void *oid) |
const char * | getString () |
const void * | getObjectId () |
bool | close () |
Public Member Functions inherited from object | |
virtual | ~object () |
The gssmechanism class provides methods for working with GSS (Generic Security Services API/Kerberos) mechanisms.
gssmechanism::gssmechanism | ( | ) |
Creates a new instance of the gssmechanism class.
gssmechanism::~gssmechanism | ( | ) |
Deletes this instance of the gssmechanism class.
bool gssmechanism::close | ( | ) |
Closes any open security mechanism.
Always returns true.
Returns the platform-specific binary representation of the object id for the security mechanism represented by this instance, or NULL if it has been closed or if none has been opened.
Returns the string representation of the object id for the security mechanism represented by this instance, or NULL if it has been closed or if none has been opened.
Opens the security mechanism identified by "str" which should be the string representation of the object id for the mechanism.
Returns true on success and false on failure.