sgns::JSONSecureStorage¶
#include <JSONSecureStorage.hpp>
Inherits from sgns::ISecureStorage, IComponent, std::enable_shared_from_this< ISecureStorage >
Public Functions¶
| Name | |
|---|---|
| JSONSecureStorage(std::string directory) | |
| ~JSONSecureStorage() override =default | |
| virtual outcome::result< SecureBufferType > | Load(const std::string & key) override |
| virtual outcome::result< void > | Save(const std::string & key, const SecureBufferType & buffer) override |
| virtual outcome::result< bool > | DeleteKey(const std::string & key) override |
| virtual std::string | GetName() override |
| outcome::result< rj::Document > | LoadJSON() const |
| JSONSecureStorage & | GetInstance() |
Additional inherited members¶
Public Types inherited from sgns::ISecureStorage
| Name | |
|---|---|
| using std::string | SecureBufferType |
Public Functions inherited from sgns::ISecureStorage
| Name | |
|---|---|
| ~ISecureStorage() override =default |
Public Functions inherited from IComponent
| Name | |
|---|---|
| virtual | ~IComponent() =default |
Public Functions Documentation¶
function JSONSecureStorage¶
function ~JSONSecureStorage¶
function Load¶
Reimplements: sgns::ISecureStorage::Load
function Save¶
virtual outcome::result< void > Save(
const std::string & key,
const SecureBufferType & buffer
) override
Reimplements: sgns::ISecureStorage::Save
function DeleteKey¶
Reimplements: sgns::ISecureStorage::DeleteKey
function GetName¶
Reimplements: IComponent::GetName
function LoadJSON¶
function GetInstance¶
Updated on 2026-03-04 at 13:10:43 -0800