setUserAuthenticationRequired
fun setUserAuthenticationRequired(required: Boolean, types: Set<SoftwareUserAuthType>): SoftwareCreateKeySettings.Builder
Specify if user authentication is required to use the key.
By default, no user authentication is required.
Return
the builder.
Parameters
required
True if user authentication is required, false otherwise.
types
a combination of the flags SoftwareUserAuthType.PASSCODE and SoftwareUserAuthType.BIOMETRIC. Cannot be empty if required is true.