Updated on 2026-08-14
This commit is contained in:
parent
2a00ffa8cf
commit
68e5d9d174
1 changed files with 8 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue