Security manager.
More...
#include <security_interface.hpp>
|
virtual string | calculateHash (const string &content)=0 |
| Load the identity material for this instance.
|
|
virtual bool | initialize (ConnectDomainSharedPtr domain)=0 |
| Perform global initializations, safe assumption is that method is called only once.
|
|
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.
|
|
◆ 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()
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