Class Passport
-
java.lang.Object
-
io.keychain.core.Passport
public class Passport
-
Passport
Passport manages Personas, Contacts, all associated private keys (blockchain and application). This class performs all blockchain network requests and all database interactions.
Passport is extended by Gateway and Monitor and is typically instantiated through its derived classes rather than on its own.
Method Summary
Static Methods
| Return type | Method and Description |
|---|---|
|
Initialize the module database |
|
Load the configuration file from the APK package |
Constructor Summary
| Constructor and Description |
|---|
|
Instance Methods
| Return type | Method and Description |
|---|---|
|
Create a contact |
|
Create a new Persona and set the active person to the new Persona |
|
Delete a contact |
|
Delete a persona |
|
Get the set of contacts of the active Persona |
|
Get the set of personas |
|
Get the active persona |
|
Set the active persona |
|
Rename facade |
|
Extend Keychains with new application keys |
|
Seed the wallet |
Methods inherited from class java.lang.Object |
clone,equals,getClass, hashCode, notify, notifyAll, toString, wait |