Security manager.
More...
#include <security_interface.hpp>
|
| virtual string | calculateHash (const string &content)=0 |
| | Load the identity material for this instance. More...
|
| |
| virtual bool | initialize ()=0 |
| | Perform global initializations, safe assumption is that method is called only once. More...
|
| |
| virtual bool | loadFileToMemory (const string &fileName, unsigned char *mem, size_t &sz)=0 |
| |
| virtual | ~SecurityContextInterface () |
| | Define destructor as virtual so that derived classes can be destroyed. More...
|
| |
◆ SecurityCapability
| Enumerator |
|---|
| None | |
| MasterPresent | |
| WriteErr | |
| ReadErr | |
| NoFile | |
| Invalid | |
| Allocate | |
◆ ~SecurityContextInterface()
| virtual kanzi::connect::SecurityContextInterface::~SecurityContextInterface |
( |
| ) |
|
|
inlinevirtual |
Define destructor as virtual so that derived classes can be destroyed.
◆ calculateHash()
| virtual string kanzi::connect::SecurityContextInterface::calculateHash |
( |
const string & |
content | ) |
|
|
pure virtual |
Load the identity material for this instance.
- Returns
- true on obtaining a non-null capability
◆ initialize()
| virtual bool kanzi::connect::SecurityContextInterface::initialize |
( |
| ) |
|
|
pure virtual |
Perform global initializations, safe assumption is that method is called only once.
- Returns
- true on success.
◆ loadFileToMemory()
| virtual bool kanzi::connect::SecurityContextInterface::loadFileToMemory |
( |
const string & |
fileName, |
|
|
unsigned char * |
mem, |
|
|
size_t & |
sz |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file:
- connect/interface/security_interface.hpp