For keys that require authentication, a prompt is shown to the user on Android to confirm the operation. The texts were previously hard-coded. This change allows to configure them via an options object passed to subtle.sign(), subtle.deriveKey() and subtle.deriveBits(). When the key is not protected by a user authentication requirement, the authentication options are ignored.
For keys that require authentication, a prompt is shown to the user on Android to confirm the operation. The texts were previously hard-coded. This change allows to configure them via an options object passed to
subtle.sign()
,subtle.deriveKey()
andsubtle.deriveBits()
. When the key is not protected by a user authentication requirement, the authentication options are ignored.