Package-level declarations

Types

Link copied to clipboard

Class for holding Android Keystore-specific settings related to key creation.

Link copied to clipboard

Android Keystore specific class for information about a key.

Link copied to clipboard

A class that can be used to provide information used for unlocking a key.

Link copied to clipboard

An implementation of SecureArea using Android Keystore.

Link copied to clipboard
data class BatchCreateKeyResult(val keyInfos: List<KeyInfo>, val openid4vciKeyAttestationJws: String?)

Result of a SecureArea.batchCreateKey call.

Link copied to clipboard
open class CreateKeySettings(val algorithm: Algorithm = Algorithm.ESP256, val nonce: ByteString = ByteString(), val userAuthenticationRequired: Boolean = false)

Base class for key creation settings.

Link copied to clipboard
data class KeyAttestation(val publicKey: EcPublicKey, val certChain: X509CertChain?)

Class for key attestations.

Link copied to clipboard
open class KeyInfo

Class with information about a key.

Link copied to clipboard

Exception thrown when trying to use a key which has been invalidated.

Link copied to clipboard

Exception thrown when trying to use a key which hasn't been unlocked.

Link copied to clipboard
interface KeyUnlockData

Abstract type with information used when operating on a key that has been unlocked.

Link copied to clipboard
class KeyUnlockInteractive(val title: String? = null, val subtitle: String? = null, val requireConfirmation: Boolean = false) : KeyUnlockData

A KeyUnlockData which will automatically show dialogs to interact with the user.

Link copied to clipboard
data class PassphraseConstraints(val minLength: Int, val maxLength: Int, val requireNumerical: Boolean)

Enumeration used to convey constraints on passphrases and PINs.

Link copied to clipboard

Exception thrown when trying to create a key with user authentication but no screen lock has been set up.

Link copied to clipboard
interface SecureArea

An interface to a Secure Area.

Link copied to clipboard
class SecureAreaProvider<out T : SecureArea>(context: CoroutineContext = Dispatchers.Main, provider: suspend CoroutineScope.() -> T)

Lazily creates a SecureArea.

Link copied to clipboard

A repository of SecureArea implementations.

Link copied to clipboard

Class for holding Secure Enclave settings related to key creation.

Link copied to clipboard

Secure Enclave specific class for information about a key.

Link copied to clipboard
class SecureEnclaveKeyUnlockData(val authenticationContext: LAContext)

Class used to provide policy when unlocking a key.

Link copied to clipboard

An implementation of SecureArea using the Apple Secure Enclave.

Link copied to clipboard

An enumeration for different user authentication types when using keys in the Secure Enclave.

Link copied to clipboard

An enumeration for different user authentication types.

Properties

Link copied to clipboard

Decodes the number into a set of UserAuthenticationType

Link copied to clipboard