Builder
A builder for CreateKeySettings.
Parameters
attestationChallenge
challenge to include in attestation for the key.
Functions
Link copied to clipboard
fun applyConfiguration(configuration: SecureAreaConfigurationAndroidKeystore): AndroidKeystoreCreateKeySettings.Builder
Apply settings from configuration object.
Link copied to clipboard
Builds the CreateKeySettings.
Link copied to clipboard
Sets the algorithm for the key.
Link copied to clipboard
Method to specify if an attest key should be used.
Link copied to clipboard
fun setUserAuthenticationRequired(required: Boolean, timeoutMillis: Long, userAuthenticationTypes: Set<UserAuthenticationType>): AndroidKeystoreCreateKeySettings.Builder
Method to specify if user authentication is required to use the key.
Link copied to clipboard
Method to specify if StrongBox Android Keystore should be used, if available.
Link copied to clipboard
fun setValidityPeriod(validFrom: Instant, validUntil: Instant): AndroidKeystoreCreateKeySettings.Builder
Sets the key validity period.