Keychain
The Keychain class provides secure storage for sensitive data, such as cryptographic shares and client metadata.
It uses a KeyStoreWrapper for encryption and decryption, and SharedPreferences for persistent storage.
Properties
Functions
Gets the available recovery methods for a given PortalNamespace.
Gets the available recovery methods for a given chain ID.
Deprecated methods
Deletes all entries associated with a given key.
Deletes the shares associated with the current client.
Checks if a wallet exists for a given PortalNamespace.
Checks if a wallet exists for a given chain ID.
Retrieves the address associated with a specific PortalNamespace.
Retrieves the address associated with a specific chain ID.
Retrieves all addresses stored in the Keychain.
Retrieves cached addresses.
Retrieves the client metadata.
Retrieves a cryptographic share for a specific PortalNamespace.
Retrieves a cryptographic share for a specific chain ID.
Retrieves the shares associated with the client.
Checks if a wallet is backed up for a given PortalNamespace.
Checks if a wallet is backed up for a given chain ID.
Checks if a wallet's shares are present on the device for a given PortalNamespace.
Checks if a wallet's shares are present on the device for a given chain ID.
Checks if a wallet is recoverable for a given PortalNamespace.
Checks if a wallet is recoverable for a given chain ID.
Loads the client's metadata and stores it in the preferences.
Stores client metadata in the preferences.
Stores encrypted shares in the keychain.
Validates the core Keychain operations: write, read, and delete.