#include "eid_applet_results.h"
#include <functional>
#include <list>
#include <string>
gehe zum Quellcode dieser Datei
|
using | ProgressHandler = std::function< void(int progress)> |
| Handler for relaying progress notification obtained from TSM-API. Mehr ...
|
|
◆ ProgressHandler
Handler for relaying progress notification obtained from TSM-API.
- Parameter
-
progress | (0..100) A number representing a percentage value to indicate the relative progress of the action execution. |
◆ deletePersonalization()
Delete Personalization from eID Applet.
- Rückgabe
- EidServiceResult
◆ deleteSmartEid()
Performs remote deletion of the eID-applet in eSE on this device, or resets ATM module, keychain items and Secure Enclave elements.
- Parameter
-
pHandler | function pointer of the implemented ProgressHandler function |
- Rückgabe
- EidServiceResult
◆ getSmartEidStatus()
Provides the current Smart-eID Status. This function does not include an online-check.
- Rückgabe
- The status of the Smart-eID e.g. EidStatus::NO_PERSONALIZATION for the eID-Applet.
◆ getUpdateInfo()
Provides information of available updates of the installed eID-Applet and/or CSP implementation or whether the device is supported by Trusted Service Management System. The function includes an online-check.
- Rückgabe
- The updateInfo of the Smart-eID e.g. EidUpdateInfo::UPDATE_AVAILABLE for the eID-Applet.
◆ initializePersonalization()
InitializeResult initializePersonalization |
( |
const std::string & |
pChallenge, |
|
|
const std::string & |
pPin = "" |
|
) |
| |
Performs initialization of the Personalization.
- Parameter
-
pChallenge | base64 encoded challenge for key attestation. |
pPin | from AA2 validated 6 digit PIN, once the user entered the mobile-ID-PIN 2 times. It is only required for HW_KEYSTORE and will be ignored in all other cases. |
- Rückgabe
- InitializeResult with base64 encoded public key and signed challenge
◆ installSmartEid()
Performs the remote provisioning of the eID-applet from the Trusted Service Management System to the eSE on this device, or the ATM module initialization and the license check.
- Parameter
-
pHandler | function pointer of the implemented ProgressHandler function |
- Rückgabe
- EidServiceResult
◆ performAPDUCommand()
Performs APDU command.
- Parameter
-
pCommandApdu | byte2hex encoded APDU |
- Rückgabe
- GenericDataResult with byte2hex encoded APDU response
◆ performPersonalization()
Performs personalization in a generic way controlled by Personalization Service.
- Parameter
-
pCommand | byte2hex encoded Command e.g APDU for Android |
- Rückgabe
- GenericDataResult with byte2hex encoded command response for the personalization step