Class Gateway
-
java.lang.Object
-
io.keychain.core.Gateway
-
public class Gateway
Gateway
Gateway
manages Personas
, Contacts
, all associated private keys (blockchain and application). This class performs all blockchain network requests, all database interactions, and performs application-level cryptographic operations encrypt, decrypt, sign, and verify.
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/issue custom digital asset |
|
Create a contact |
|
Create a new Persona and set the active person to the new Persona |
|
Decrypt then verify data using the active Persona |
|
Decrypt then verify data to a string using the active 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 |
|
Seed the wallet |
|
Sign then encrypt data using the active Persona |
|
Sign then encrypt data using the active Persona |
|
Create a transaction that sends the asset to the specified receiver |
|
Update local ledger with transaction from peers. |