Rudiments
Public Member Functions | List of all members
gssmechanism Class Reference

#include <gss.h>

Inherits object.

Public Member Functions

 gssmechanism ()
 
 ~gssmechanism ()
 
bool open (const char *str)
 
bool open (const void *oid)
 
const chargetString ()
 
const voidgetObjectId ()
 
bool close ()
 
- Public Member Functions inherited from object
virtual ~object ()
 

Detailed Description

The gssmechanism class provides methods for working with GSS (Generic Security Services API/Kerberos) mechanisms.

Constructor & Destructor Documentation

◆ gssmechanism()

gssmechanism::gssmechanism ( )

Creates a new instance of the gssmechanism class.

◆ ~gssmechanism()

gssmechanism::~gssmechanism ( )

Deletes this instance of the gssmechanism class.

Member Function Documentation

◆ close()

bool gssmechanism::close ( )

Closes any open security mechanism.

Always returns true.

◆ getObjectId()

const void * gssmechanism::getObjectId ( )

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.

◆ getString()

const char * gssmechanism::getString ( )

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.

◆ open() [1/2]

bool gssmechanism::open ( const char * str)

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.

◆ open() [2/2]

bool gssmechanism::open ( const void * oid)

Opens the security mechanism identified by "oid" which should be the platform-specific binary representation of the object id for the mechanism.

Returns true on success and false on failure.