IDA C++ SDK 9.2
Loading...
Searching...
No Matches
vault_credentials_t Struct Reference

#include <network.hpp>

Inheritance diagram for vault_credentials_t:
login_credentials_t endpoint_credentials_t host_port_t

Public Types

enum  ask_user_result_t { AUR_CANCELLED = 0 , AUR_VALID , AUR_INVALID }
typedef login_credentials_t inherited

Public Member Functions

 vault_credentials_t ()
virtual ~vault_credentials_t ()
void init ()
virtual bool process_switch (const char *arg) override
virtual void clear () override
virtual bool do_load_password (qstring *out, qstring *errbuf) const override
virtual bool do_load_proxy_password (qstring *out, qstring *errbuf) const override
virtual bool write (qstring *errbuf) const override
ask_user_result_t ask_user (credential_validator_t *validator, qstring *errbuf, uint32 auf_flags=0)
bool update (qstring *errbuf) const
bool del (qstring *errbuf) const
void reg_set_site (const char *site) const
bool load_site ()
void load_proxy_info ()
bool has_seen_site_option () const
Public Member Functions inherited from login_credentials_t
 login_credentials_t (const qstring &_host, ushort _port)
virtual ~login_credentials_t ()
bool load_password (qstring *out, qstring *errbuf) const
bool load_proxy_password (qstring *out, qstring *errbuf) const
bool use_tls () const
void set_use_tls (bool use_tls)
bool has_seen_proxy_option () const
Public Member Functions inherited from endpoint_credentials_t
 endpoint_credentials_t ()
 endpoint_credentials_t (const qstring &_host, ushort _port)
void clear ()
bool parse_connstr (const qstring &s, uint32 flags=0)
void build_connstr (qstring *out, uint32 flags=0) const
qstring build_connstr (uint32 flags=0) const
Public Member Functions inherited from host_port_t
 host_port_t ()
 host_port_t (const qstring &_host, ushort _port)
void clear ()
bool is_valid () const
bool operator== (const host_port_t &r) const
void swap (host_port_t &r)
qstring connstr (int default_port=0) const

Static Public Member Functions

static bool reg_should_store_info ()
static void reg_set_store_info (bool store_pass)
static bool reg_del_store_info ()
Static Public Member Functions inherited from endpoint_credentials_t
static bool parse_connstr (endpoint_credentials_t *out, const qstring &s, uint32 flags=0)

Public Attributes

qstring sitename
Public Attributes inherited from login_credentials_t
endpoint_credentials_t proxy
uint32 state = 0
Public Attributes inherited from endpoint_credentials_t
qstring username
qstring password_override
Public Attributes inherited from host_port_t
qstring host
ushort port = 0

Additional Inherited Members

Protected Member Functions inherited from login_credentials_t
bool load_pass_from_keychain (qstring *, qstring *, const char *) const

Member Typedef Documentation

◆ inherited

Member Enumeration Documentation

◆ ask_user_result_t

Enumerator
AUR_CANCELLED 
AUR_VALID 
AUR_INVALID 

Constructor & Destructor Documentation

◆ vault_credentials_t()

vault_credentials_t::vault_credentials_t ( )
inline

◆ ~vault_credentials_t()

virtual vault_credentials_t::~vault_credentials_t ( )
inlinevirtual

Member Function Documentation

◆ init()

void vault_credentials_t::init ( )

◆ process_switch()

virtual bool vault_credentials_t::process_switch ( const char * arg)
overridevirtual

Reimplemented from login_credentials_t.

◆ clear()

virtual void vault_credentials_t::clear ( )
inlineoverridevirtual

Reimplemented from login_credentials_t.

◆ do_load_password()

virtual bool vault_credentials_t::do_load_password ( qstring * out,
qstring * errbuf ) const
overridevirtual

Reimplemented from login_credentials_t.

◆ do_load_proxy_password()

virtual bool vault_credentials_t::do_load_proxy_password ( qstring * out,
qstring * errbuf ) const
overridevirtual

Reimplemented from login_credentials_t.

◆ write()

virtual bool vault_credentials_t::write ( qstring * errbuf) const
overridevirtual

Reimplemented from login_credentials_t.

◆ ask_user()

ask_user_result_t vault_credentials_t::ask_user ( credential_validator_t * validator,
qstring * errbuf,
uint32 auf_flags = 0 )

◆ update()

bool vault_credentials_t::update ( qstring * errbuf) const

◆ del()

bool vault_credentials_t::del ( qstring * errbuf) const

◆ reg_set_site()

void vault_credentials_t::reg_set_site ( const char * site) const

◆ load_site()

bool vault_credentials_t::load_site ( )

◆ load_proxy_info()

void vault_credentials_t::load_proxy_info ( )

◆ has_seen_site_option()

bool vault_credentials_t::has_seen_site_option ( ) const
inline

◆ reg_should_store_info()

bool vault_credentials_t::reg_should_store_info ( )
static

◆ reg_set_store_info()

void vault_credentials_t::reg_set_store_info ( bool store_pass)
static

◆ reg_del_store_info()

bool vault_credentials_t::reg_del_store_info ( )
static

Member Data Documentation

◆ sitename

qstring vault_credentials_t::sitename

The documentation for this struct was generated from the following file: