Stores security material artifacts (keys, certificates) in memory. More...
#include <memorysecuritymaterialstore.hpp>
Static Public Member Functions | |
| static void | clear () |
| Clears the memory security material store contents. More... | |
| static bool | contains (Type type) |
| Checks whether store contains a specific material. More... | |
| static bool | containsDefaultClientMaterials () |
| Determines whether store contains default materials to be used at client side DefaultClient_ClientCertificate, DefaultClient_ClientPrivateKey, DefaultClient_ServerCA. More... | |
| static bool | containsDefaultServerMaterials () |
| Determines whether store contains default material used by server. More... | |
| static bool | containsDefaultWebServerMaterials () |
| Determines whether store contains default material used by web server. More... | |
| static void | remove (Type type) |
| Removes a specific type of material from the store. More... | |
| static void | removeAll () |
| Removes all content from the store. More... | |
| static string | retrieve (Type type) |
| Retrieves a typed material. More... | |
| static void | store (Type type, const char *contents) |
| Stores a specific type of material into the store. More... | |
Stores security material artifacts (keys, certificates) in memory.
Public API is fully re-entrant.
| typedef enum kanzi::connect::MemorySecurityMaterialStore::Type kanzi::connect::MemorySecurityMaterialStore::Type |
|
static |
Clears the memory security material store contents.
|
static |
Checks whether store contains a specific material.
| type | Defines the material type. |
|
static |
Determines whether store contains default materials to be used at client side DefaultClient_ClientCertificate, DefaultClient_ClientPrivateKey, DefaultClient_ServerCA.
|
static |
Determines whether store contains default material used by server.
DefaultServer_ServerCertificate, DefaultServer_ServerPrivateKey and DefaultServer_ClientCA
|
static |
Determines whether store contains default material used by web server.
DefaultWebServer_ServerCertificate, DefaultWebServer_ServerPrivateKey and DefaultWebServer_ClientCA
|
static |
Removes a specific type of material from the store.
| type | The type to remove. |
|
static |
Removes all content from the store.
|
static |
Retrieves a typed material.
| type | Defines the material type. |
|
static |
Stores a specific type of material into the store.
material usually certificates and private keys.
| type | Defines the material type. |
| contents | The material to store. |