AusweisApp
Lade ...
Suche ...
Keine Treffer
EidAppletServiceAndroid Klassenreferenz

#include <eid_applet_service_android.h>

Öffentliche Methoden

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

Beschreibung der Konstruktoren und Destruktoren

◆ 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
envThe android JNI Environment pointer.
applicationContextThe android application context.

◆ ~EidAppletServiceAndroid()

EidAppletServiceAndroid::~EidAppletServiceAndroid ( )

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

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Dokumentation der Elementfunktionen

◆ deletePersonalization()

EidServiceResult EidAppletServiceAndroid::deletePersonalization ( )

Delete the eID-Applet from this device.

Rückgabe
EidServiceResult
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ deleteSmartEid()

EidServiceResult EidAppletServiceAndroid::deleteSmartEid ( )

Delete the eID-Applet from this device.

Rückgabe
EidServiceResult
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ finalizePersonalization()

PersonalizationResult EidAppletServiceAndroid::finalizePersonalization ( jint status)

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

Rückgabe
a PersonalizationResult object with the init-eID-PIN
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ getServiceInformation()

ServiceInformationResult EidAppletServiceAndroid::getServiceInformation ( )
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ getSmartEidStatus()

EidStatus EidAppletServiceAndroid::getSmartEidStatus ( )

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

Rückgabe
The status of the eID-Applet
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ getSmartEidSupportInfo()

EidSupportStatusResult EidAppletServiceAndroid::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
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ initializePersonalization()

InitializeResult EidAppletServiceAndroid::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
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ 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
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ installSmartEid()

EidServiceResult EidAppletServiceAndroid::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
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ performAPDUCommand()

GenericDataResult EidAppletServiceAndroid::performAPDUCommand ( const std::string & pCommandApdu)

Performs APDU command.

Parameter
pCommandApdubyte2hex encoded APDU
Rückgabe
GenericDataResult with byte2hex encoded APDU response
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ performPersonalization()

GenericDataResult EidAppletServiceAndroid::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
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ releaseAppletConnection()

EidServiceResult EidAppletServiceAndroid::releaseAppletConnection ( )

Releases any open channel to the applet.

Rückgabe
EidServiceResult
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ shutdownService()

GenericDataResult EidAppletServiceAndroid::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
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

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