Offline One-Time Password

The DYOTP class provides the following groups of methods:

Methods of the Enroll Session

This group of methods implements sessions that create tokens used in the subsequent data signing requests.

  1. createOfflineOTPToken
  2. Create an offline OTPClosedOne-Time Password (or Pin) - a password that is valid for only one login session or transaction. token.

  3. createEnrollmentRequest
  4. Create an enrollment request.

  5. updateEnrollmentRequest
  6. Handle the server response.

  7. finalizeEnrollmentRequest
  8. Handling server response.

Methods of the OTP Computation

This method implements a session that signs the provided data using previously enrolled token.

  1. computeOTP
  2. Perform mobile side OTPClosedOne-Time Password (or Pin) - a password that is valid for only one login session or transaction. computation.

Methods of the Refresh Session

This group of methods implements a session that refreshes the signature token.

  1. createRefreshRequest
  2. Create a refresh request.

  3. updateRefreshRequest
  4. Handle the server response.

  5. finalizeRefreshWithContext
  6. Handle the server response.

Sample Code

Sample code is provided in the package in the following location:

\samples\OfflineOTP