pub fn decrypt_signing_key(
wallet_name_or_id: &str,
chain_type: ChainType,
passphrase: &str,
index: Option<u32>,
vault_path: Option<&Path>,
) -> Result<SecretBytes, OwsLibError>Expand description
Decrypt a wallet and return the private key for the given chain.
This is the single code path for resolving a credential into key material. Both the library’s high-level signing functions and the CLI delegate here.