DSAPPSRPGenerateEphemeralKey (Service) [v1]

Prev Next

This command is deprecated! Use DSAPPSRPGenerateEphemeralKey (service) [v2] instead!

API version: 1

Availability: DIGIPASS Gateway 4.1 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/activation /DSAPPSRPGenerateEphemeralKey

Request

DSAPPSRPGenerateEphemeralKey parameters

Parameter name

Data type

Description

registrationID

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

{
  "registrationID": "myRegistrationID",
  "clientEphemeralPublicKey": "589C8CC389883455EC0D2B484892974E..."
}

Response

DSAPPSRPGenerateEphemeralKey return values

Return value

Data type

Description

errorCode

Integer

The return code provided by OneSpan Authentication Server. 0 is returned in case of success.

errorMessage

String

The error message provided by OneSpan Authentication Server. STAT_SUCCESS is returned in case of success.

serverEphemeralPublicKey

String

The server ephemeral public key generated by the server.

salt

String

The random salt value generated by the server.

Example

{
  "errorCode": 0,
  "errorMessage": "STAT_SUCCESS",
  "serverEphemeralPublicKey": "C29DE535E89B04A1E17E984B9FF77458...",
  "salt": "A23C9C3B2B8B734EBEF0EA1895F9E355"
}