hwsecurity-openpgp / de.cotech.hw.openpgp.storage / AndroidPreferencesEncryptedSessionStorage /
AndroidPreferencesEncryptedSessionStorage
open class AndroidPreferencesEncryptedSessionStorage : EncryptedSessionStorage
A simple, SharedPreferences based EncryptedSessionStorage.
Functions
Name | Summary |
---|---|
getEncryptedSessionSecret |
open fun getEncryptedSessionSecret(securityKeyAid: Array<Byte>): Array<Byte> abstract fun getEncryptedSessionSecret(aid: Array<Byte>): Array<Byte> |
getInstance | open fun getInstance(context: Context): AndroidPreferencesEncryptedSessionStorage |
hasAnyEncryptedSessionSecret |
open fun hasAnyEncryptedSessionSecret(): Boolean Returns true iff there are any session secrets currently stored. |
hasEncryptedSessionSecret |
open fun hasEncryptedSessionSecret(securityKeyAid: Array<Byte>): Boolean abstract fun hasEncryptedSessionSecret(aid: Array<Byte>): Boolean |
setEncryptedSessionSecret |
open fun setEncryptedSessionSecret(securityKeyAid: Array<Byte>, encryptedSessionSecret: Array<Byte>) abstract fun setEncryptedSessionSecret(aid: Array<Byte>, encryptedSessionSecret: Array<Byte>) |