Class persona
Namespace: keychain
#include "keychain/cache/persona.hpp"
Inheritance: facade
→ persona
Persona
Persona
represents a cryptographic identity, the private keys of which are created and managed within the same local database used by the gateway
object that created the persona
. The cryptographic identity comprises of an encryption keychain and a signature keychain. The persona
class functions primarily as a handle for persona
objects that are established by the gateway
object.
Multiple personas
may be managed by the same gateway
object, and each persona
maps to a different set of contacts
. As such, persona
objects provide context for gateway
cryptographic operations such as encryption and signing, as the contacts
of one persona
might not be a contacts
of another persona
within the same gateway
.
The distinction between a persona
and a contacts
is that a gateway
creates a persona
locally whereas a contact
is created by another device.
Methods inherited from class |
|