| 328 | } |
| 329 | |
| 330 | void MainWindow::initPin() |
| 331 | { |
| 332 | if (!pkcs11::libraries.loaded()) |
| 333 | return; |
| 334 | try { |
| 335 | pkcs11 p11; |
| 336 | slotid slot; |
| 337 | |
| 338 | if (!p11.selectToken(&slot, this)) |
| 339 | return; |
| 340 | p11.initPin(slot); |
| 341 | } catch (errorEx &err) { |
| 342 | XCA_ERROR(err); |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | |
| 347 | void MainWindow::manageToken() |
nothing calls this directly
no test coverage detected