C++ SDK Documentation  23.3.0
Vertica::UDKeyManager Class Referenceabstract
Collaboration diagram for Vertica::UDKeyManager:
Collaboration graph

Public Member Functions

virtual void cleanup ()
 do any cleanup tasks that may thow and so shouldn't be in the destructor
 
virtual void deleteKey (const std::string &name, const std::map< std::string, std::string > &conf={})
 drop the key created by generateKey() for name
 
virtual AESKey generateKey (const std::string &name, const std::map< std::string, std::string > &conf={})
 create a new key for object name
 
virtual std::string getDescription () const
 override to get better representation in error message/log/system table
 
virtual std::string getDisplayName () const
 override to get better representation in error message/log/system table
 
virtual AESKey getKey (const std::string &key_id, bool internal, const std::map< std::string, std::string > &conf={})=0
 return key identified by id; if internal then should use database identity for permissions checks
 
virtual AESKey getStartupKey (const std::string &password, const std::string &key_id="", const std::map< std::string, std::string > &config={})=0
 called during startup; returned key is used to decrypt the catalog
 
virtual std::set< std::string > persistParams ()=0
 returns the keys for parameters it is safe to write to a configuration file