AusweisApp2
Lade ...
Suche ...
Keine Treffer
EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine > Template-Klassenreferenz

#include <eid_applet_service_android.h>

Öffentliche Methoden

 EidAppletServiceAndroid (JNIEnvironment *env, jobject applicationContext)
 Creates an EidAppletServiceAndroid with the given environment / context. Mehr ...
 
 ~EidAppletServiceAndroid ()
 Release all resources and shut down the eID-Applet-Service-Lib on Android. Mehr ...
 
GenericDataResult initializeService (const std::string &pServiceId, const std::string &pVersionTag, const std::string &pSsdAid)
 Performs initialization of eID-Applet-Service-Lib on Android. Mehr ...
 
EidServiceResult installSmartEid ()
 Performs the remote provisioning of the eID-applet from the TSM to the eSE on this device. Mehr ...
 
EidServiceResult deleteSmartEid ()
 Delete the eID-Applet from this device. Mehr ...
 
EidServiceResult deletePersonalization ()
 Delete the eID-Applet from this device. Mehr ...
 
GenericDataResult performAPDUCommand (const std::string &pCommandApdu)
 Performs APDU command. Mehr ...
 
InitializeResult initializePersonalization (const std::string &pPin, const std::string &pChallenge)
 Performs initialization of the Personalization. Mehr ...
 
GenericDataResult performPersonalization (const std::string &pCommandPersonalization)
 Performs personalization in a generic way controlled by Personalization Service. Mehr ...
 
PersonalizationResult finalizePersonalization ()
 Finalize the Personalization and provide the init-eID-PIN. Mehr ...
 
EidStatus getSmartEidStatus ()
 Provides the status of the Smart-eID or eID-Applet. Mehr ...
 
EidUpdateInfo getUpdateInfo ()
 Provides information of available updates of the installed eID-Applet and/or CSP implementation or whether the device is supported by TSMS. Mehr ...
 
EidServiceResult releaseAppletConnection ()
 Releases any open channel to the applet. Mehr ...
 
GenericDataResult shutdownService ()
 Release all resources and shut down the eID-Applet-Service-Lib on Android. Mehr ...
 

Beschreibung der Konstruktoren und Destruktoren

◆ EidAppletServiceAndroid()

template<class JNIEnvironment , class JavaVirtualMachine >
EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::EidAppletServiceAndroid ( JNIEnvironment *  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
envThe android JNI Environment pointer.
applicationContextThe android application context.

◆ ~EidAppletServiceAndroid()

template<class JNIEnvironment , class JavaVirtualMachine >
EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::~EidAppletServiceAndroid

Release all resources and shut down the eID-Applet-Service-Lib on Android.

Dokumentation der Elementfunktionen

◆ deletePersonalization()

template<class JNIEnvironment , class JavaVirtualMachine >
EidServiceResult EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::deletePersonalization

Delete the eID-Applet from this device.

Rückgabe
EidServiceResult

◆ deleteSmartEid()

template<class JNIEnvironment , class JavaVirtualMachine >
EidServiceResult EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::deleteSmartEid

Delete the eID-Applet from this device.

Rückgabe
EidServiceResult

◆ finalizePersonalization()

template<class JNIEnvironment , class JavaVirtualMachine >
PersonalizationResult EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::finalizePersonalization

Finalize the Personalization and provide the init-eID-PIN.

Rückgabe
a PersonalizationResult object with the init-eID-PIN

◆ getSmartEidStatus()

template<class JNIEnvironment , class JavaVirtualMachine >
EidStatus EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::getSmartEidStatus

Provides the status of the Smart-eID or eID-Applet.

Rückgabe
The status of the eID-Applet

◆ getUpdateInfo()

template<class JNIEnvironment , class JavaVirtualMachine >
EidUpdateInfo EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::getUpdateInfo

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 Update-Info of the eID-Applet

◆ initializePersonalization()

template<class JNIEnvironment , class JavaVirtualMachine >
InitializeResult EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::initializePersonalization ( const std::string &  pPin,
const std::string &  pChallenge 
)

Performs initialization of the Personalization.

Parameter
pPinproperty is only relevant for iOS implementation and unused in Android
pChallengechallenge for key attestation
Rückgabe
InitializeResult with public key and signed challenge

◆ initializeService()

template<class JNIEnvironment , class JavaVirtualMachine >
GenericDataResult EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::initializeService ( const std::string &  pServiceId,
const std::string &  pVersionTag,
const std::string &  pSsdAid 
)

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()

template<class JNIEnvironment , class JavaVirtualMachine >
EidServiceResult EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::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()

template<class JNIEnvironment , class JavaVirtualMachine >
GenericDataResult EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::performAPDUCommand ( const std::string &  pCommandApdu)

Performs APDU command.

Parameter
pCommandApdubyte2hex encoded APDU
Rückgabe
GenericDataResult with byte2hex encoded APDU response

◆ performPersonalization()

template<class JNIEnvironment , class JavaVirtualMachine >
GenericDataResult EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::performPersonalization ( const std::string &  pCommandPersonalization)

Performs personalization in a generic way controlled by Personalization Service.

Parameter
pCommandPersonalizationbase64 encoded personalization step
Rückgabe
GenericDataResult with base64 encoded personalization step response

◆ releaseAppletConnection()

template<class JNIEnvironment , class JavaVirtualMachine >
EidServiceResult EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::releaseAppletConnection

Releases any open channel to the applet.

Rückgabe
EidServiceResult

◆ shutdownService()

template<class JNIEnvironment , class JavaVirtualMachine >
GenericDataResult EidAppletServiceAndroid< JNIEnvironment, JavaVirtualMachine >::shutdownService

Release all resources and shut down the eID-Applet-Service-Lib on Android.

Rückgabe
GenericDataResult mData is blank if mResult is equal to EidServiceResult::SUCCESS, otherwise it contains an error message

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: