Class Persona

Persona

Persona represents a cryptographic identity, the private keys of which are created and managed within the same local database used by the Passport 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 Passport object.

Multiple Personas may be managed by the same Passport 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 Passport.

The distinction between a Persona and a Contact is that a Passport 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 io.keychain.core.Facade

finalize, getId, getName, getRootMaturity, getSubName, getTipMaturity, getUrl, isNull