getSecret

abstract suspend fun getSecret(    name: String,     keyId: String?,     secretKey: SsssKeySpec): String

Get an encrypted secret from the shared storage.

Parameters

name

The name of the secret

keyId

The id of the key that should be used to decrypt (null for default key)

secretKey

the secret key to use (@see #RawBytesKeySpec)