org.ergoplatform.wallet.secrets
- SecretString mnemonic string to be erased after use.
- optional SecretString mnemonic password to be erased after use.
Tells if secretsIndices
were locked and destroyed.
Tells if secretsIndices
were locked and destroyed.
Destroys all loaded secrets.
Destroys all loaded secrets.
Returns the secretsIndices
if already unlocked, or nothing.
Returns the secretsIndices
if already unlocked, or nothing.
Path to the secret file containing encrypted seed and all the required cipher parameters to decrypt the seed providing the correct password.
Path to the secret file containing encrypted seed and all the required cipher parameters to decrypt the seed providing the correct password.
Checks the seed can be decrypted, provided mnemonic with optional mnemonic password.
Checks the seed can be decrypted, provided mnemonic with optional mnemonic password.
Makes secrets with secretsIndices
available through secrets
call.
- password to be used to decrypt secret, also SecretString to be erased after use
Secret storage backend. Stores encrypted seed in json file (structure is described by EncryptedSecret). Responsible for managing access to the secrets. (detailed storage specification: https://github.com/ergoplatform/ergo-wallet/wiki/Ergo-Secret-Storage)