C++ SDK Documentation  12.0.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 &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::map< std::string, std::string > &config={}, const std::string &id="")=0
 called during startup; returned key is used to decrypt the catalog
 
virtual std::vector< std::string > persistParams ()=0
 returns the keys for parameters it is safe to write to a configuration file