Cordova Plugin: https://github.com/tamour/cordova-plugin-secure-biometric-key-auth
The plugin exposes the cordova.plugins.SecureBiometricKeyAuth interface. All methods use standard success and error callbacks:
createKeyPair(alias)
Generates a hardware-backed EC key pair locked behind biometric access control. Returns the Base64-encoded public key upon success. Overwrites any existing key with the same alias.
alias
PublicKey
IsSuccess
true
false
ErrorMessage
""
getPublicKey(alias)
Retrieves an existing public key previously generated and stored in the hardware keystore.
signChallenge(alias, challengeText, promptTitle)
Prompts the system biometric dialog (Face ID / Fingerprint). Upon successful biometric verification, signs the provided server challenge string using the device's private key.
challengeText
promptTitle
"Authenticate to Login"
Signature
SHA256withECDSA