Skip to content
Snippets Groups Projects
Commit 7e83f818 authored by Kamal Bramwell's avatar Kamal Bramwell
Browse files

Updated classes to internal visibility

parent 0d6c493f
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ import io.elixxir.dapp.session.model.NdfSettings
import kotlinx.coroutines.*
typealias Ndf = String
interface NdfDataSource {
internal interface NdfDataSource {
suspend fun fetchNdf(): Ndf
}
......
......@@ -7,6 +7,7 @@ import android.security.keystore.KeyProperties
import bindings.Bindings
import io.elixxir.dapp.DappSdk.Companion.defaultDispatcher
import io.elixxir.dapp.preferences.KeyStorePreferences
import io.elixxir.dapp.session.model.SecureHardwareException
import io.elixxir.dapp.session.model.SessionPassword
import io.elixxir.dapp.util.fromBase64toByteArray
import io.elixxir.dapp.util.toBase64String
......@@ -23,13 +24,12 @@ import javax.crypto.NoSuchPaddingException
import javax.crypto.spec.OAEPParameterSpec
import javax.crypto.spec.PSource
interface SessionKeyStore {
internal interface SessionKeyStore {
suspend fun createSessionPassword(requireSecureHardware: Boolean): Result<Unit>
suspend fun rsaDecryptPassword(): SessionPassword
}
internal class DappSessionKeystore private constructor(
class DappSessionKeystore private constructor(
private val preferences: KeyStorePreferences,
private val dispatcher: CoroutineDispatcher
) : SessionKeyStore {
......
......@@ -16,7 +16,7 @@ import kotlinx.coroutines.*
* Establishes & persists an identity to perform Cmix operations.
* Only needs to be created once per app installation.
*/
interface SessionManager {
internal interface SessionManager {
val sessionFolder: File
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment