Function findSecurityKeys
Find the security keys currently available to the application.
Use this before setup or unlock to let the user choose a connected key.
Parameters
| Name | Description |
|---|---|
| keys | Receives the connected keys. |
Returns
ok when discovery succeeded. An empty array means no key is connected.
Examples
SecurityKeyInfo[] keys;
if (findSecurityKeys(keys) == CredentialStatus .ok)
{
foreach (key; keys)
showKeyChoice(key .manufacturer, key .product);
}