trust-store
2.0.0
Provides a common implementation of a trust store to be used by trusted helpers.
|
Classes | |
class | InvalidMirConnection |
Functions | |
CORE_TRUST_DLL_PUBLIC MirConnection * | connect (const std::string &endpoint, const std::string &name) |
Helper function building up a connection to Mir. More... | |
CORE_TRUST_DLL_PUBLIC std::shared_ptr< core::trust::Agent > | create_agent_for_mir_connection (MirConnection *connection) |
create_agent_for_mir_connection creates a trust::Agent implementation leveraging Mir's trusted prompting API. More... | |
CORE_TRUST_DLL_PUBLIC MirConnection* core::trust::mir::connect | ( | const std::string & | endpoint, |
const std::string & | name | ||
) |
Helper function building up a connection to Mir.
endpoint | The name of the endpoint exposed by the Mir instance. |
name | The name assigned to this connection. |
std::runtime_error | in case of issues. |
Referenced by core::trust::mir::InvalidMirConnection::InvalidMirConnection().
CORE_TRUST_DLL_PUBLIC std::shared_ptr<core::trust::Agent> core::trust::mir::create_agent_for_mir_connection | ( | MirConnection * | connection | ) |
create_agent_for_mir_connection creates a trust::Agent implementation leveraging Mir's trusted prompting API.
connection | An existing connection to a Mir instance. |
InvalidMirConnection | if the connection object is invalid. |
Referenced by core::trust::mir::InvalidMirConnection::InvalidMirConnection().