src/eric7/Documentation/Source/eric7.WebBrowser.WebAuth.Fido2Management.html

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10860
46d5db6cd55d
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

10860
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 <!DOCTYPE html>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 <html><head>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
3 <title>eric7.WebBrowser.WebAuth.Fido2Management</title>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 <meta charset="UTF-8">
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
5 <link rel="stylesheet" href="styles.css">
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 </head>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7 <body>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8 <a NAME="top" ID="top"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 <h1>eric7.WebBrowser.WebAuth.Fido2Management</h1>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11 Module implementing a manager for FIDO2 security keys.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 <h3>Global Attributes</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16 <tr><td>None</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 <h3>Classes</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22 <td><a href="#Fido2DeviceError">Fido2DeviceError</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 <td>Class signaling an issue with the device.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
26 <td><a href="#Fido2Management">Fido2Management</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27 <td>Class implementing a manager for FIDO2 security keys.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
28 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
29 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
30 <td><a href="#Fido2PinError">Fido2PinError</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
31 <td>Class signaling an issue with the PIN.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
32 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
33 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
34
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
35 <h3>Functions</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
36 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 <tr><td>None</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
38 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
39
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
40 <hr />
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
41 <hr />
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
42 <a NAME="Fido2DeviceError" ID="Fido2DeviceError"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
43 <h2>Fido2DeviceError</h2>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
45 Class signaling an issue with the device.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
47
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
48 <h3>Derived from</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
49 Exception
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
50 <h3>Class Attributes</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
51 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52 <tr><td>None</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
53 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
54
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
55 <h3>Class Methods</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
57 <tr><td>None</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
58 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
59
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 <h3>Methods</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
61 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
62 <tr><td>None</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
63 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
64
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
65 <h3>Static Methods</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
66 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
67 <tr><td>None</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
69
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
70
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
71 <div align="right"><a href="#top">Up</a></div>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
72 <hr />
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
73 <hr />
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
74 <a NAME="Fido2Management" ID="Fido2Management"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
75 <h2>Fido2Management</h2>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
76 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
77 Class implementing a manager for FIDO2 security keys.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
78 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
79
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
80 <h3>Signals</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
81 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
82
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
83 <dt>deviceConnected()</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
84 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
85 emitted to indicate a connect to the security key
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
86 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
87 <dt>deviceDisconnected()</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
88 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
89 emitted to indicate a disconnect from the security key
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
90 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
91 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
92 <h3>Derived from</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
93 QObject
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
94 <h3>Class Attributes</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
95 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
96 <tr><td>FidoExtension2Str</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
97 <tr><td>FidoInfoCategories2Str</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
98 <tr><td>FidoVersion2Str</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
99 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
100
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
101 <h3>Class Methods</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
102 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
103 <tr><td>None</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
104 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
105
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
106 <h3>Methods</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
107 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
108 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
109 <td><a href="#Fido2Management.__init__">Fido2Management</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
110 <td>Constructor</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
111 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
112 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
113 <td><a href="#Fido2Management.__initConfig">__initConfig</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
114 <td>Private method to initialize a configuration object.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
115 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
116 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
117 <td><a href="#Fido2Management.__initializeCredentialManager">__initializeCredentialManager</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
118 <td>Private method to initialize a credential manager object.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
119 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
120 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
121 <td><a href="#Fido2Management.__pinErrorMessage">__pinErrorMessage</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
122 <td>Private method to get a message for a PIN error.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
123 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
124 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
125 <td><a href="#Fido2Management.canSetMinimumPinLength">canSetMinimumPinLength</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
126 <td>Public method to check, if the 'setMinPINLength' function is available.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
127 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
128 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
129 <td><a href="#Fido2Management.canToggleAlwaysUv">canToggleAlwaysUv</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
130 <td>Public method to check, if the 'toggleAlwaysUv' function is available.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
131 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
132 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
133 <td><a href="#Fido2Management.changePasskeyUserInfo">changePasskeyUserInfo</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
134 <td>Public method to change the user info of a stored passkey.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
135 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
136 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
137 <td><a href="#Fido2Management.changePin">changePin</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
138 <td>Public method to change the PIN of the connected security key.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
139 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
140 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
141 <td><a href="#Fido2Management.connectToDevice">connectToDevice</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
142 <td>Public method to connect to a given security key.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
143 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
144 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
145 <td><a href="#Fido2Management.deletePasskey">deletePasskey</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
146 <td>Public method to delete the passkey of the given ID.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
147 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
148 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
149 <td><a href="#Fido2Management.disconnectFromDevice">disconnectFromDevice</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
150 <td>Public method to disconnect from the current device.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
151 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
152 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
153 <td><a href="#Fido2Management.forcePinChange">forcePinChange</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
154 <td>Public method to force the PIN to be changed to a new value before use.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
155 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
156 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
157 <td><a href="#Fido2Management.forcePinChangeSupported">forcePinChangeSupported</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
158 <td>Public method to check, if the 'forcePinChange' function is supported by the selected security key.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
159 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
160 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
161 <td><a href="#Fido2Management.getAlwaysUv">getAlwaysUv</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
162 <td>Public method to get the value of the 'alwaysUv' flag of the current security key.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
163 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
164 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
165 <td><a href="#Fido2Management.getDevices">getDevices</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
166 <td>Public method to get a list of connected security keys.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
167 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
168 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
169 <td><a href="#Fido2Management.getMinimumPinLength">getMinimumPinLength</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
170 <td>Public method to get the minimum PIN length defined by the security key.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
171 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
172 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
173 <td><a href="#Fido2Management.getPasskeys">getPasskeys</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
174 <td>Public method to get all stored passkeys.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
175 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
176 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
177 <td><a href="#Fido2Management.getPinRetries">getPinRetries</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
178 <td>Public method to get the number of PIN retries left and an indication for the need of a power cycle.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
179 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
180 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
181 <td><a href="#Fido2Management.getSecurityKeyInfo">getSecurityKeyInfo</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
182 <td>Public method to get information about the connected security key.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
183 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
184 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
185 <td><a href="#Fido2Management.hasPin">hasPin</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
186 <td>Public method to check, if the connected security key has a PIN set.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
187 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
188 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
189 <td><a href="#Fido2Management.isDeviceLocked">isDeviceLocked</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
190 <td>Public method to check, if the device is in locked state (i.e.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
191 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
192 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
193 <td><a href="#Fido2Management.lockDevice">lockDevice</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
194 <td>Public method to lock the device (i.e.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
195 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
196 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
197 <td><a href="#Fido2Management.pinChangeRequired">pinChangeRequired</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
198 <td>Public method to check for a forced PIN change.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
199 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
200 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
201 <td><a href="#Fido2Management.reconnectToDevice">reconnectToDevice</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
202 <td>Public method to reconnect the current security key.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
203 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
204 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
205 <td><a href="#Fido2Management.resetDevice">resetDevice</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
206 <td>Public method to reset the connected security key.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
207 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
208 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
209 <td><a href="#Fido2Management.setMinimumPinLength">setMinimumPinLength</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
210 <td>Public method to set the minimum PIN length.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
211 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
212 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
213 <td><a href="#Fido2Management.setPin">setPin</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
214 <td>Public method to set a PIN for the connected security key.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
215 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
216 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
217 <td><a href="#Fido2Management.toggleAlwaysUv">toggleAlwaysUv</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
218 <td>Public method to toggle the 'alwaysUv' flag of the selected security key.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
219 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
220 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
221 <td><a href="#Fido2Management.unlockDevice">unlockDevice</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
222 <td>Public method to unlock the device (i.e.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
223 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
224 <tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
225 <td><a href="#Fido2Management.verifyPin">verifyPin</a></td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
226 <td>Public method to verify a given PIN.</td>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
227 </tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
228 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
229
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
230 <h3>Static Methods</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
231 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
232 <tr><td>None</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
233 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
234
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
235
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
236 <a NAME="Fido2Management.__init__" ID="Fido2Management.__init__"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
237 <h4>Fido2Management (Constructor)</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
238 <b>Fido2Management</b>(<i>parent=None</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
239 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
240 Constructor
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
241 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
242
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
243 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
244
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
245 <dt><i>parent</i> (QObject (optional))</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
246 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
247 reference to the parent object (defaults to None)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
248 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
249 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
250 <a NAME="Fido2Management.__initConfig" ID="Fido2Management.__initConfig"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
251 <h4>Fido2Management.__initConfig</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
252 <b>__initConfig</b>(<i>pin</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
253 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
254 Private method to initialize a configuration object.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
255 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
256
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
257 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
258
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
259 <dt><i>pin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
260 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
261 PIN to unlock the connected security key
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
262 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
263 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
264 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
265 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
266 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
267 reference to the configuration object
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
268 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
269 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
270 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
271 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
272 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
273 Config
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
274 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
275 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
276 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
277
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
278 <dt>Raises <b>Fido2DeviceError</b>:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
279 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
280 raised to indicate an issue with the selected
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
281 security key
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
282 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
283 <dt>Raises <b>Fido2PinError</b>:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
284 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
285 raised to indicate an issue with the PIN
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
286 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
287 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
288 <a NAME="Fido2Management.__initializeCredentialManager" ID="Fido2Management.__initializeCredentialManager"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
289 <h4>Fido2Management.__initializeCredentialManager</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
290 <b>__initializeCredentialManager</b>(<i>pin</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
291 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
292 Private method to initialize a credential manager object.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
293 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
294
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
295 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
296
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
297 <dt><i>pin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
298 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
299 PIN to unlock the connected security key
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
300 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
301 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
302 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
303 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
304 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
305 reference to the credential manager object
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
306 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
307 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
308 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
309 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
310 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
311 CredentialManagement
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
312 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
313 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
314 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
315
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
316 <dt>Raises <b>Fido2DeviceError</b>:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
317 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
318 raised to indicate an issue with the selected
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
319 security key
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
320 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
321 <dt>Raises <b>Fido2PinError</b>:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
322 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
323 raised to indicate an issue with the PIN
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
324 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
325 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
326 <a NAME="Fido2Management.__pinErrorMessage" ID="Fido2Management.__pinErrorMessage"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
327 <h4>Fido2Management.__pinErrorMessage</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
328 <b>__pinErrorMessage</b>(<i>err</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
329 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
330 Private method to get a message for a PIN error.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
331 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
332
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
333 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
334
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
335 <dt><i>err</i> (CtapError)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
336 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
337 reference to the exception object
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
338 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
339 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
340 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
341 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
342 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
343 message for the given PIN error
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
344 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
345 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
346 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
347 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
348 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
349 str
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
350 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
351 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
352 <a NAME="Fido2Management.canSetMinimumPinLength" ID="Fido2Management.canSetMinimumPinLength"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
353 <h4>Fido2Management.canSetMinimumPinLength</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
354 <b>canSetMinimumPinLength</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
355 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
356 Public method to check, if the 'setMinPINLength' function is available.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
357 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
358
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
359 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
360 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
361 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
362 flag indicating availability
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
363 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
364 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
365 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
366 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
367 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
368 bool
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
369 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
370 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
371 <a NAME="Fido2Management.canToggleAlwaysUv" ID="Fido2Management.canToggleAlwaysUv"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
372 <h4>Fido2Management.canToggleAlwaysUv</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
373 <b>canToggleAlwaysUv</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
374 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
375 Public method to check, if the 'toggleAlwaysUv' function is available.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
376 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
377
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
378 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
379 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
380 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
381 flag indicating availability
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
382 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
383 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
384 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
385 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
386 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
387 bool
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
388 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
389 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
390 <a NAME="Fido2Management.changePasskeyUserInfo" ID="Fido2Management.changePasskeyUserInfo"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
391 <h4>Fido2Management.changePasskeyUserInfo</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
392 <b>changePasskeyUserInfo</b>(<i>pin, credentialId, userId, userName, displayName</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
393 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
394 Public method to change the user info of a stored passkey.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
395 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
396
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
397 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
398
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
399 <dt><i>pin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
400 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
401 PIN to unlock the connected security key
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
402 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
403 <dt><i>credentialId</i> (fido2.webauthn.PublicKeyCredentialDescriptor)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
404 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
405 ID of the passkey to change
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
406 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
407 <dt><i>userId</i> (bytes)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
408 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
409 ID of the user
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
410 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
411 <dt><i>userName</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
412 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
413 user name to set
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
414 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
415 <dt><i>displayName</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
416 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
417 display name to set
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
418 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
419 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
420 <a NAME="Fido2Management.changePin" ID="Fido2Management.changePin"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
421 <h4>Fido2Management.changePin</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
422 <b>changePin</b>(<i>oldPin, newPin</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
423 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
424 Public method to change the PIN of the connected security key.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
425 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
426
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
427 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
428
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
429 <dt><i>oldPin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
430 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
431 current PIN
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
432 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
433 <dt><i>newPin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
434 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
435 new PIN
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
436 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
437 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
438 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
439 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
440 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
441 flag indicating success and a message
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
442 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
443 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
444 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
445 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
446 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
447 tuple of (bool, str)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
448 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
449 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
450 <a NAME="Fido2Management.connectToDevice" ID="Fido2Management.connectToDevice"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
451 <h4>Fido2Management.connectToDevice</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
452 <b>connectToDevice</b>(<i>device</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
453 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
454 Public method to connect to a given security key.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
455 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
456
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
457 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
458
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
459 <dt><i>device</i> (CtapHidDevice)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
460 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
461 reference to the security key device class
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
462 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
463 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
464 <a NAME="Fido2Management.deletePasskey" ID="Fido2Management.deletePasskey"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
465 <h4>Fido2Management.deletePasskey</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
466 <b>deletePasskey</b>(<i>pin, credentialId</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
467 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
468 Public method to delete the passkey of the given ID.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
469 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
470
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
471 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
472
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
473 <dt><i>pin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
474 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
475 PIN to unlock the connected security key
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
476 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
477 <dt><i>credentialId</i> (fido2.webauthn.PublicKeyCredentialDescriptor)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
478 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
479 ID of the passkey to be deleted
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
480 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
481 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
482 <a NAME="Fido2Management.disconnectFromDevice" ID="Fido2Management.disconnectFromDevice"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
483 <h4>Fido2Management.disconnectFromDevice</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
484 <b>disconnectFromDevice</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
485 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
486 Public method to disconnect from the current device.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
487 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
488
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
489 <a NAME="Fido2Management.forcePinChange" ID="Fido2Management.forcePinChange"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
490 <h4>Fido2Management.forcePinChange</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
491 <b>forcePinChange</b>(<i>pin</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
492 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
493 Public method to force the PIN to be changed to a new value before use.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
494 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
495
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
496 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
497
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
498 <dt><i>pin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
499 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
500 PIN to unlock the connected security key
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
501 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
502 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
503 <a NAME="Fido2Management.forcePinChangeSupported" ID="Fido2Management.forcePinChangeSupported"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
504 <h4>Fido2Management.forcePinChangeSupported</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
505 <b>forcePinChangeSupported</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
506 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
507 Public method to check, if the 'forcePinChange' function is supported by the
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
508 selected security key.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
509 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
510
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
511 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
512 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
513 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
514 flag indicating support
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
515 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
516 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
517 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
518 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
519 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
520 bool
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
521 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
522 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
523 <a NAME="Fido2Management.getAlwaysUv" ID="Fido2Management.getAlwaysUv"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
524 <h4>Fido2Management.getAlwaysUv</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
525 <b>getAlwaysUv</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
526 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
527 Public method to get the value of the 'alwaysUv' flag of the current security
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
528 key.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
529 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
530
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
531 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
532 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
533 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
534 return value of the 'alwaysUv' flag
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
535 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
536 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
537 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
538 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
539 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
540 bool
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
541 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
542 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
543 <a NAME="Fido2Management.getDevices" ID="Fido2Management.getDevices"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
544 <h4>Fido2Management.getDevices</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
545 <b>getDevices</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
546 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
547 Public method to get a list of connected security keys.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
548 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
549
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
550 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
551 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
552 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
553 list of connected security keys
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
554 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
555 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
556 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
557 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
558 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
559 list of CtapHidDevice
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
560 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
561 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
562 <a NAME="Fido2Management.getMinimumPinLength" ID="Fido2Management.getMinimumPinLength"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
563 <h4>Fido2Management.getMinimumPinLength</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
564 <b>getMinimumPinLength</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
565 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
566 Public method to get the minimum PIN length defined by the security key.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
567 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
568
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
569 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
570 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
571 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
572 minimum length for the PIN
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
573 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
574 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
575 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
576 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
577 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
578 int
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
579 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
580 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
581 <a NAME="Fido2Management.getPasskeys" ID="Fido2Management.getPasskeys"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
582 <h4>Fido2Management.getPasskeys</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
583 <b>getPasskeys</b>(<i>pin</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
584 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
585 Public method to get all stored passkeys.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
586 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
587
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
588 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
589
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
590 <dt><i>pin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
591 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
592 PIN to unlock the connected security key
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
593 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
594 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
595 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
596 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
597 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
598 tuple containing a dictionary containing the stored passkeys grouped
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
599 by Relying Party ID, the count of used credential slots and the count
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
600 of available credential slots
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
601 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
602 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
603 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
604 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
605 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
606 tuple of [dict[str, list[dict[str, Any]]], int, int]
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
607 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
608 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
609 <a NAME="Fido2Management.getPinRetries" ID="Fido2Management.getPinRetries"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
610 <h4>Fido2Management.getPinRetries</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
611 <b>getPinRetries</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
612 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
613 Public method to get the number of PIN retries left and an indication for the
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
614 need of a power cycle.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
615 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
616
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
617 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
618 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
619 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
620 tuple containing the number of retries left and a flag indicating a
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
621 power cycle is required. A retry value of -1 indicates, that no PIN was
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
622 set yet.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
623 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
624 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
625 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
626 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
627 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
628 tuple of (int, bool)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
629 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
630 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
631 <a NAME="Fido2Management.getSecurityKeyInfo" ID="Fido2Management.getSecurityKeyInfo"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
632 <h4>Fido2Management.getSecurityKeyInfo</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
633 <b>getSecurityKeyInfo</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
634 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
635 Public method to get information about the connected security key.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
636 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
637
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
638 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
639 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
640 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
641 dictionary containing the info data
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
642 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
643 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
644 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
645 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
646 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
647 dict[str, list[tuple[str, str]]]
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
648 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
649 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
650 <a NAME="Fido2Management.hasPin" ID="Fido2Management.hasPin"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
651 <h4>Fido2Management.hasPin</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
652 <b>hasPin</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
653 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
654 Public method to check, if the connected security key has a PIN set.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
655 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
656
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
657 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
658 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
659 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
660 flag indicating that a PIN has been set or None in case no device
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
661 was connected yet or it does not support PIN
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
662 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
663 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
664 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
665 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
666 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
667 bool or None
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
668 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
669 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
670 <a NAME="Fido2Management.isDeviceLocked" ID="Fido2Management.isDeviceLocked"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
671 <h4>Fido2Management.isDeviceLocked</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
672 <b>isDeviceLocked</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
673 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
674 Public method to check, if the device is in locked state (i.e. the stored PIN
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
675 is None).
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
676 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
677
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
678 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
679 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
680 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
681 flag indicating the locked state
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
682 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
683 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
684 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
685 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
686 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
687 bool
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
688 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
689 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
690 <a NAME="Fido2Management.lockDevice" ID="Fido2Management.lockDevice"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
691 <h4>Fido2Management.lockDevice</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
692 <b>lockDevice</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
693 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
694 Public method to lock the device (i.e. delete the stored PIN).
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
695 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
696
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
697 <a NAME="Fido2Management.pinChangeRequired" ID="Fido2Management.pinChangeRequired"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
698 <h4>Fido2Management.pinChangeRequired</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
699 <b>pinChangeRequired</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
700 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
701 Public method to check for a forced PIN change.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
702 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
703
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
704 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
705 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
706 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
707 flag indicating a forced PIN change is required
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
708 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
709 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
710 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
711 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
712 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
713 bool
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
714 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
715 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
716 <a NAME="Fido2Management.reconnectToDevice" ID="Fido2Management.reconnectToDevice"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
717 <h4>Fido2Management.reconnectToDevice</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
718 <b>reconnectToDevice</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
719 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
720 Public method to reconnect the current security key.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
721 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
722
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
723 <a NAME="Fido2Management.resetDevice" ID="Fido2Management.resetDevice"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
724 <h4>Fido2Management.resetDevice</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
725 <b>resetDevice</b>(<i></i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
726 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
727 Public method to reset the connected security key.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
728 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
729
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
730 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
731 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
732 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
733 flag indicating success and a message
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
734 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
735 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
736 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
737 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
738 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
739 tuple of (bool, str)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
740 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
741 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
742 <a NAME="Fido2Management.setMinimumPinLength" ID="Fido2Management.setMinimumPinLength"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
743 <h4>Fido2Management.setMinimumPinLength</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
744 <b>setMinimumPinLength</b>(<i>pin, minLength</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
745 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
746 Public method to set the minimum PIN length.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
747 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
748
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
749 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
750
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
751 <dt><i>pin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
752 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
753 PIN to unlock the connected security key
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
754 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
755 <dt><i>minLength</i> (int)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
756 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
757 minimum PIN length
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
758 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
759 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
760 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
761
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
762 <dt>Raises <b>Fido2PinError</b>:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
763 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
764 raised to indicate an issue with the PIN length
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
765 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
766 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
767 <a NAME="Fido2Management.setPin" ID="Fido2Management.setPin"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
768 <h4>Fido2Management.setPin</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
769 <b>setPin</b>(<i>pin</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
770 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
771 Public method to set a PIN for the connected security key.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
772 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
773
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
774 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
775
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
776 <dt><i>pin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
777 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
778 PIN to be set
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
779 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
780 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
781 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
782 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
783 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
784 flag indicating success and a message
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
785 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
786 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
787 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
788 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
789 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
790 tuple of (bool, str)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
791 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
792 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
793 <a NAME="Fido2Management.toggleAlwaysUv" ID="Fido2Management.toggleAlwaysUv"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
794 <h4>Fido2Management.toggleAlwaysUv</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
795 <b>toggleAlwaysUv</b>(<i>pin</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
796 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
797 Public method to toggle the 'alwaysUv' flag of the selected security key.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
798 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
799
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
800 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
801
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
802 <dt><i>pin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
803 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
804 PIN to unlock the connected security key
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
805 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
806 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
807 <a NAME="Fido2Management.unlockDevice" ID="Fido2Management.unlockDevice"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
808 <h4>Fido2Management.unlockDevice</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
809 <b>unlockDevice</b>(<i>pin</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
810 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
811 Public method to unlock the device (i.e. store the PIN for later use).
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
812 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
813
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
814 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
815
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
816 <dt><i>pin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
817 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
818 PIN to be stored
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
819 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
820 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
821 <a NAME="Fido2Management.verifyPin" ID="Fido2Management.verifyPin"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
822 <h4>Fido2Management.verifyPin</h4>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
823 <b>verifyPin</b>(<i>pin</i>)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
824 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
825 Public method to verify a given PIN.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
826 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
827 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
828 A successful verification of the PIN will reset the "retries" counter.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
829 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
830
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
831 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
832
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
833 <dt><i>pin</i> (str)</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
834 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
835 PIN to be verified
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
836 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
837 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
838 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
839 <dt>Return:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
840 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
841 flag indicating successful verification and a verification message
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
842 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
843 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
844 <dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
845 <dt>Return Type:</dt>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
846 <dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
847 tuple of (bool, str)
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
848 </dd>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
849 </dl>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
850 <div align="right"><a href="#top">Up</a></div>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
851 <hr />
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
852 <hr />
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
853 <a NAME="Fido2PinError" ID="Fido2PinError"></a>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
854 <h2>Fido2PinError</h2>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
855 <p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
856 Class signaling an issue with the PIN.
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
857 </p>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
858
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
859 <h3>Derived from</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
860 Exception
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
861 <h3>Class Attributes</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
862 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
863 <tr><td>None</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
864 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
865
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
866 <h3>Class Methods</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
867 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
868 <tr><td>None</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
869 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
870
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
871 <h3>Methods</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
872 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
873 <tr><td>None</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
874 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
875
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
876 <h3>Static Methods</h3>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
877 <table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
878 <tr><td>None</td></tr>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
879 </table>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
880
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
881
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
882 <div align="right"><a href="#top">Up</a></div>
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
883 <hr />
46d5db6cd55d Updated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
884 </body></html>

eric ide

mercurial