DSAPPSRPGenerateEphemeralKey (service) [v2]

API version: 2

Availability: DIGIPASS Gateway 5.0 and later

Authentication: Basic HTTP authentication using the front-end API key.

The DSAPPSRPGenerateEphemeralKey service initializes the activation process by exchanging public keys. It performs a provisioning ephemeral key generation using Digipass Software Advanced Provisioning Protocol-Secure Remote Password (DSAPP-SRP).

URL

https://dpgateway_host:dpgateway_port/rest/v2/provisioning /DSAPPSRPGenerateEphemeralKey

Request

DSAPPSRPGenerateEphemeralKey parameters
Parameter name Data type Description
registrationIdentifier String Required. The unique identifier of a user for a given activation process.
clientEphemeralPublicKey String Required. The client ephemeral public key generated by the mobile application with the DSAPP SDK.

Example

{
  "registrationIdentifier": "myRegistrationID",
  "clientEphemeralPublicKey": "0BB2EA6580A127320F3C6341CEF75367..."
}

Response

DSAPPSRPGenerateEphemeralKey return values
Return value Description
resultCodes A JSON object that contains the return and status codes of the service.
result A JSON object that contains the ephemeral public key and the salt.

Example

{
  "resultCodes":
    {
      "returnCodeEnum": "RET_SUCCESS",
      "statusCodeEnum": "STAT_SUCCESS",
      "returnCode": 0,
      "statusCode": 0
    },
  "result":
    {
      "serverEphemeralPublicKey": "661CF5095BA2C5C0679B7BCEB516BADE...",
      "salt": "8F1958E25B9749FDBC28362CEED92C01"
    }
}