CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cipher::AbstractKeyDatabase Class Referenceabstract

#include <encrypt.h>

Inheritance diagram for cipher::AbstractKeyDatabase:

Public Member Functions

virtual ~AbstractKeyDatabase ()
 
virtual bool StoreNew (const Key *key, std::string *id)=0
 
virtual const KeyFind (const std::string &id)=0
 

Detailed Description

Allows to access keys by identifiers. This might at some point move into a separate compilation unit.

Definition at line 62 of file encrypt.h.

Constructor & Destructor Documentation

virtual cipher::AbstractKeyDatabase::~AbstractKeyDatabase ( )
inlinevirtual

Definition at line 64 of file encrypt.h.

Member Function Documentation

virtual const Key* cipher::AbstractKeyDatabase::Find ( const std::string &  id)
pure virtual

Implemented in cipher::MemoryKeyDatabase.

virtual bool cipher::AbstractKeyDatabase::StoreNew ( const Key key,
std::string *  id 
)
pure virtual

Implemented in cipher::MemoryKeyDatabase.


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