![]() |
Kea 3.0.0
|
GSS-API name. More...
#include <gss_tsig_api.h>
Public Member Functions | |
GssApiName () | |
Constructor. | |
GssApiName (const std::string &gname) | |
Constructor. | |
~GssApiName () | |
Destructor. | |
bool | compare (GssApiName &other) |
Compare. | |
gss_name_t | get () |
Get the value. | |
gss_name_t * | getPtr () |
Get pointer. | |
std::string | toString () |
textual representation. | |
Public Member Functions inherited from isc::gss_tsig::GssApiLastError | |
GssApiLastError () | |
Constructor. | |
virtual | ~GssApiLastError () |
Destructor. | |
int | getLastError () const |
Get the last error. | |
void | setLastError (int error) |
Set the last error. |
GSS-API name.
Encapsulate the gss_name_t GSS-API pointer type.
Definition at line 187 of file gss_tsig_api.h.
isc::gss_tsig::GssApiName::GssApiName | ( | ) |
Constructor.
Definition at line 170 of file gss_tsig_api.cc.
References isc::gss_tsig::GssApiLastError::GssApiLastError().
Referenced by compare().
|
explicit |
Constructor.
gname | The GSS-API name in a textual form. |
Definition at line 173 of file gss_tsig_api.cc.
References isc::gss_tsig::GssApiLastError::GssApiLastError(), isc::gss_tsig::gssApiErrMsg(), and isc_throw.
isc::gss_tsig::GssApiName::~GssApiName | ( | ) |
bool isc::gss_tsig::GssApiName::compare | ( | GssApiName & | other | ) |
Compare.
Use the gss_compare_name GSS-API funtion.
other | Other GSS-API name. |
Definition at line 200 of file gss_tsig_api.cc.
References GssApiName(), isc::gss_tsig::gssApiErrMsg(), isc_throw, and isc::gss_tsig::GssApiLastError::setLastError().
|
inline |
Get the value.
Definition at line 203 of file gss_tsig_api.h.
Referenced by isc::gss_tsig::GssApiCred::GssApiCred(), and isc::gss_tsig::GssApiSecCtx::init().
|
inline |
Get pointer.
Definition at line 210 of file gss_tsig_api.h.
Referenced by isc::gss_tsig::GssApiSecCtx::accept(), and isc::gss_tsig::GssApiSecCtx::inquire().
string isc::gss_tsig::GssApiName::toString | ( | ) |
textual representation.
Use the gss_display_name GSS-API funtion.
Definition at line 213 of file gss_tsig_api.cc.
References isc::gss_tsig::GssApiBuffer::getPtr(), isc::gss_tsig::GssApiBuffer::getString(), isc::gss_tsig::gssApiErrMsg(), isc_throw, and isc::gss_tsig::GssApiLastError::setLastError().