#include <eid_applet_service_android.h>
◆ EidAppletServiceAndroid()
EidAppletServiceAndroid::EidAppletServiceAndroid |
( |
JNIEnv * | env, |
|
|
jobject | applicationContext ) |
Creates an EidAppletServiceAndroid with the given environment / context.
This method should be called from the main thread / the thread that created the JVM.
- Parameter
-
env | The android JNI Environment pointer. |
applicationContext | The android application context. |
◆ ~EidAppletServiceAndroid()
EidAppletServiceAndroid::~EidAppletServiceAndroid |
( |
| ) |
|
Release all resources and shut down the eID-Applet-Service-Lib on Android.
◆ deletePersonalization()
Delete the eID-Applet from this device.
- Rückgabe
- EidServiceResult
◆ deleteSmartEid()
Delete the eID-Applet from this device.
- Rückgabe
- EidServiceResult
◆ finalizePersonalization()
Finalize the Personalization and provide the init-eID-PIN.
- Rückgabe
- a PersonalizationResult object with the init-eID-PIN
◆ getServiceInformation()
◆ getSmartEidStatus()
EidStatus EidAppletServiceAndroid::getSmartEidStatus |
( |
| ) |
|
Provides the status of the Smart-eID or eID-Applet.
- Rückgabe
- The status of the eID-Applet
◆ getSmartEidSupportInfo()
Provides information of available updates of the installed eID-Applet and/or CSP implementation or whether the device is supported by TSMS.
- Rückgabe
- The Support-Info of the eID-Applet
◆ initializePersonalization()
InitializeResult EidAppletServiceAndroid::initializePersonalization |
( |
const std::string & | pPin, |
|
|
const std::string & | pChallenge ) |
Performs initialization of the Personalization.
- Parameter
-
pPin | property is only relevant for iOS implementation and unused in Android |
pChallenge | challenge for key attestation |
- Rückgabe
- InitializeResult with public key and signed challenge
◆ initializeService()
GenericDataResult EidAppletServiceAndroid::initializeService |
( |
const std::string & | pServiceId, |
|
|
const std::string & | pSsdAid, |
|
|
const std::string & | pVersionTag ) |
Performs initialization of eID-Applet-Service-Lib on Android.
This method should be called from the main thread / the thread that created the JVM.
- Rückgabe
- mData is blank if mResult is equal to EidServiceResult::SUCCESS, otherwise it contains an error message
◆ installSmartEid()
Performs the remote provisioning of the eID-applet from the TSM to the eSE on this device.
This function blocks the current thread until the TSM responds. It is recommended to provide a separate WorkerThread for this purpose.
- Rückgabe
- EidServiceResult
◆ performAPDUCommand()
GenericDataResult EidAppletServiceAndroid::performAPDUCommand |
( |
const std::string & | pCommandApdu | ) |
|
Performs APDU command.
- Parameter
-
pCommandApdu | byte2hex encoded APDU |
- Rückgabe
- GenericDataResult with byte2hex encoded APDU response
◆ performPersonalization()
GenericDataResult EidAppletServiceAndroid::performPersonalization |
( |
const std::string & | pCommandPersonalization | ) |
|
Performs personalization in a generic way controlled by Personalization Service.
- Parameter
-
pCommandPersonalization | base64 encoded personalization step |
- Rückgabe
- GenericDataResult with base64 encoded personalization step response
◆ releaseAppletConnection()
Releases any open channel to the applet.
- Rückgabe
- EidServiceResult
◆ shutdownService()
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: