gssapi-layer-c++  20230108
Public Member Functions | List of all members
Gss::ServiceContext Class Reference

ServiceContext. More...

#include <gsslayer.h>

Inheritance diagram for Gss::ServiceContext:
Inheritance graph
Collaboration diagram for Gss::ServiceContext:
Collaboration graph

Public Member Functions

 ServiceContext ()=default
 
bool acceptClient (void)
 
- Public Member Functions inherited from Gss::Context
 Context ()=default
 
virtual ~Context ()
 
 Context (const Context &)=delete
 
Contextoperator= (const Context &)=delete
 
virtual std::vector< uint8_t > recvToken (void)=0
 
virtual void sendToken (const void *, size_t)=0
 
virtual void error (const char *func, const char *subfunc, OM_uint32 code1, OM_uint32 code2) const
 
std::vector< uint8_t > recvMessage (void)
 
bool sendMessage (const void *, size_t, bool encrypt=true)
 
bool recvMIC (const void *, size_t)
 
bool sendMIC (const void *, size_t)
 
const gss_name_t & srcName (void) const
 
const gss_OID & mechTypes (void) const
 
const OM_uint32 & supportFlags (void) const
 
const OM_uint32 & timeRec (void) const
 
bool acquireCredential (std::string_view, const NameType &, const CredentialUsage &=Gss::CredentialUsage::Accept)
 
std::list< std::string > mechNames (void) const
 

Additional Inherited Members

- Protected Attributes inherited from Gss::Context
gss_OID mech_types = nullptr
 
gss_ctx_id_t context_handle = nullptr
 
gss_name_t src_name = nullptr
 
gss_name_t service_name = nullptr
 
gss_cred_id_t creds = nullptr
 
OM_uint32 support_flags = 0
 
OM_uint32 time_rec = 0
 

Detailed Description

ServiceContext.

Constructor & Destructor Documentation

◆ ServiceContext()

Gss::ServiceContext::ServiceContext ( )
default

Member Function Documentation

◆ acceptClient()

bool Gss::ServiceContext::acceptClient ( void  )

The documentation for this class was generated from the following files: