gssapi-layer-c++  20230108
Classes | Namespaces | Enumerations | Functions
gsslayer.h File Reference
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_ext.h>
#include <memory>
#include <vector>
#include <string>
#include <list>
Include dependency graph for gsslayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Gss::ErrorCodes
 
class  Gss::Context
 BaseContext. More...
 
class  Gss::ServiceContext
 ServiceContext. More...
 
class  Gss::ClientContext
 ClientContext. More...
 

Namespaces

 Gss
 

Enumerations

enum  Gss::NameType {
  Gss::NameType::NoName, Gss::NameType::NoOid, Gss::NameType::NtAnonymous, Gss::NameType::NtExportName,
  Gss::NameType::NtHostService, Gss::NameType::NtMachineUid, Gss::NameType::NtStringUid, Gss::NameType::NtUserName
}
 
enum  Gss::CredentialUsage { Gss::Initiate = GSS_C_INITIATE, Gss::Accept = GSS_C_ACCEPT, Gss::Both = GSS_C_BOTH }
 
enum  Gss::ContextFlag {
  Gss::Delegate = GSS_C_DELEG_FLAG, Gss::Mutual = GSS_C_MUTUAL_FLAG, Gss::Replay = GSS_C_REPLAY_FLAG, Gss::Sequence = GSS_C_SEQUENCE_FLAG,
  Gss::Confidential = GSS_C_CONF_FLAG, Gss::Integrity = GSS_C_INTEG_FLAG, Gss::Anonymous = GSS_C_ANON_FLAG, Gss::Protection = GSS_C_PROT_READY_FLAG,
  Gss::Transfer = GSS_C_TRANS_FLAG
}
 

Functions

gss_name_t Gss::importName (std::string_view name, const NameType &type, ErrorCodes *err)
 
std::string Gss::exportName (const gss_name_t &name, ErrorCodes *err)
 
std::string Gss::exportOID (const gss_OID &oid, ErrorCodes *err)
 
std::list< ContextFlag > Gss::exportFlags (int flags)
 
const char * Gss::flagName (const ContextFlag &flag)
 
std::string Gss::error2str (OM_uint32 code1, OM_uint32 code2)