Configuración inicial
Before you can start the mobile development, there are some configurations that have to be exchanged between Thales integrators and you.
The following table is the set of configurations that will be provided by the Thales delivery team. Ensure that these settings are set up on your issuer application when calling D1Task.Builder() (Android) or D1TaskComponents (iOS).
String d1ServiceURL
setD1Service_URL / d1ServiceURLString
The URL of D1 Service Server.
String issuerID
setIssuerID / issuerID
Unique identifier for each customer
byte[] d1ServiceRSAExponent
setD1ServiceRSAExponent / d1ServiceRSAExponent
The RSA exponent of the public key for secure communication between D1 Service Server and the SDK.
byte[] d1ServiceRSAModulus
setD1ServiceRSAModulus / d1ServiceRSAModulus
The RSA modulus of the public key for secure communication between D1 Service Server and the SDK.
String digitalCardURL
setDigitalCard_URL / digitalCardURLString
The URL for digital card operation.
To retrieve the value of RSA Modulus and Exponent from the Public Key PEM file, you can execute the following command: openssl rsa -pubin -inform PEM -text -noout < pubkey.pem
Public Key format
To retrieve the value of RSA Modulus and Exponent from the Public Key PEM file, you can execute the following command: openssl rsa -pubin -inform PEM -text -noout < pubkey.pem
Issuer Application Signing Key
For security reasons, only authorised issuer applications are allowed to use the D1 SDK service. This is achieved by means of verifying the application signing key (APP_PK value) which may be provided by the issuer. Contact your Thales delivery team for more details about the usage of this value and its retrieval options.
TeamID (Only iOS simulator)
Because there is no way to get teamID from iOS simulator, need to provide teamID as a part of APP_PK by api: D1Task.setTeamID("<APP_TEAM_ID>")
Última actualización
¿Te fue útil?