Class Persona
-
NSObject
-
-
KeychainCore/Persona
public class Persona extends Facade
-
-
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 Contact
of another Persona
within the same Gateway
.
The distinction between a Persona
and a Contact
is that a Gateway
stores the public and private keys for each Persona
whereas for Contacts
it only stores (and knows) the public keys of the Contact
as recorded on the blockchain.
Methods inherited from class KeychainCore/Facade |
isNil, getId, getName, getSubName, getUrl, isMature, getStatus |