--- title: "DSAPPSRPGenerateEphemeralKey (Service) [v1]" slug: "dpgw-ig-dsappsrpgenerateephemeralkey-service-v1-5-12" updated: 2026-01-14T12:09:42Z published: 2026-01-14T17:11:00Z canonical: "docs.onespan.com/dpgw-ig-dsappsrpgenerateephemeralkey-service-v1-5-12" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # DSAPPSRPGenerateEphemeralKey (Service) [v1] > This command is deprecated! Use [DSAPPSRPGenerateEphemeralKey (service) [v2]](/sec/docs/dpgw-ig-dsappsrpgenerateephemeralkey-service-v2-5-12) 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 ```json {  "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 ```json {  "errorCode": 0,  "errorMessage": "STAT_SUCCESS",  "serverEphemeralPublicKey": "C29DE535E89B04A1E17E984B9FF77458...",  "salt": "A23C9C3B2B8B734EBEF0EA1895F9E355" } ```