One-time password generation
  • 22 Oct 2024
  • 1 Minute to read
  • Dark
    Light

One-time password generation

  • Dark
    Light

Article summary

Response-Only OTPs

OTP generation in Response-Only mode (overview)

OTP generation in Response-Only mode (overview)

The workflow involves the following steps:

  1. The application integrating the SDK retrieves the Digipass static and dynamic vectors from its data storage.

  2. The application calls the SDK's OTP generation function with the Digipass vectors.

  3. The SDK returns an OTP and, optionally, a return host code (RHC) or an error code. The dynamic vector is updated.

  4. The application updates the dynamic vector in its data storage. To update the dynamic vector, the application can rely on the Secure Storage SDK.

    For more information, refer to the OneSpan Mobile Security Suite Product Guide, Secure Storage SDK.

  5. The application processes the OTP, the RHC, or the error code.

    Routines of the password generation service in Response-Only mode:

    • C/C++/Objective C: DPSDK_GenerateResponseOnly

    • Swift: generateResponseOnly

    • Java: generateResponseOnly

Challenge/Response OTPs

OTP generation in Challenge/Response mode (overview)

OTP generation in Challenge/Response mode (overview)

The workflow involves the following steps:

  1. The user receives a challenge from the server.

  2. The user enters it in the application integrating the SDK.

  3. The application integrating the SDK retrieves the Digipass static and dynamic vectors from its data storage.

  4. The application calls the SDK's OTP generation function with the Digipass vectors and the server challenge.

  5. The SDK returns an OTP or an error code. The dynamic vectotr is updated.

  6. The application updates the dynamic vector in its data storage. To update the dynamic vector, the application can rely on the Secure Storage SDK.

    For more information, refer to OneSpan Mobile Security Suite Product Guide, Secure Storage SDK.

  7. The application processes the OTP or the error code.

    Routines of the password generation service in Challenge/Response mode:

    • C/C++/Objective C: DPSDK_GenerateResponseFromChallenge

    • Swift: generateResponseFromChallenge

    • Java: generateResponseFromChallenge


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, our interactive help assistant