Class Gateway
-
NSObject
-
KeychainCore/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.
Constructor Summary
Constructor and Description |
---|
|
* * * * * |
Instance Methods
Return type | Method and Description |
---|---|
|
Create/issue custom digital asset. |
|
Create a contact. |
|
Create a new persona. |
|
Decrypt to a string (binary or not). |
|
Decrypt then verify data that has been signed and encrypted as a string. |
|
Delete a contact. |
|
Delete a persona. |
|
Encrypt a string so that it can be decrypted by the given contacts. |
|
Get the active persona. |
|
Get the list of contacts for the current active persona. |
|
Get the list of personas. |
|
Renames a contact. |
|
Renames a persona. |
|
Renew the given persona’s certificate. |
|
Seed the private key pool and generate mnemonic recovery string. |
|
Set the active persona. |
|
Sign a string. |
|
Sign then encrypt a string so that it can be decrypted (and verified) by the given contacts. |
|
Create a transaction to send the asset to the specified receiver. |
|
Update local ledger with transaction/response from peers. |
|
Verify the signature(s) of a signed string. The list of |