Updated on 2026-08-14

This commit is contained in:
Tangem 2024-05-07 19:55:00 +04:00
parent f5c3f4fbbf
commit 5e274d0482
2 changed files with 9 additions and 4 deletions

View file

@ -8,15 +8,20 @@ internal class DelegatedKeystoreManager(
private val keystoreManagerProvider: Provider<KeystoreManager>,
) : KeystoreManager {
override suspend fun get(masterKeyConfig: KeystoreManager.MasterKeyConfig, keyAlias: String): SecretKey? {
return keystoreManagerProvider().get(masterKeyConfig, keyAlias)
override suspend fun get(
masterKeyConfig: KeystoreManager.MasterKeyConfig,
keyAlias: String,
forceAuthentication: Boolean,
): SecretKey? {
return keystoreManagerProvider().get(masterKeyConfig, keyAlias, forceAuthentication)
}
override suspend fun get(
masterKeyConfig: KeystoreManager.MasterKeyConfig,
keyAliases: Set<String>,
forceAuthentication: Boolean,
): Map<String, SecretKey> {
return keystoreManagerProvider().get(masterKeyConfig, keyAliases)
return keystoreManagerProvider().get(masterKeyConfig, keyAliases, forceAuthentication)
}
override suspend fun store(masterKeyConfig: KeystoreManager.MasterKeyConfig, keyAlias: String, key: SecretKey) {

View file

@ -87,7 +87,7 @@ leakcanary = "2.13"
# region Tangem
tangemBlockchainSdk = "release-app_5.10-618"
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
tangemCardSdk = "release-app_5.9-343"
tangemCardSdk = "release-app_5.10-353"
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^
# endregion Tangem