Offline One-Time Password
The DYOTP
class provides the following groups of methods:
- Create (enroll) token that is used for offline OTP
One-Time Password (or Pin) - a password that is valid for only one login session or transaction. calculation.
- Use the token to compute the offline OTP
One-Time Password (or Pin) - a password that is valid for only one login session or transaction..
- Refresh the token. This functionality is optional.
- Delete the token.
Methods of the Enroll Session
This group of methods implements sessions that create tokens used in the subsequent data signing requests.
- createOfflineOTPToken
- createEnrollmentRequest
- updateEnrollmentRequest
- finalizeEnrollmentRequest
Create an offline OTPOne-Time Password (or Pin) - a password that is valid for only one login session or transaction. token.
Create an enrollment request.
Handle the server response.
Handling server response.
Methods of the OTP Computation
This method implements a session that signs the provided data using previously enrolled token.
- computeOTP
Perform mobile side OTPOne-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.
- createRefreshRequest
- updateRefreshRequest
- finalizeRefreshWithContext
Create a refresh request.
Handle the server response.
Handle the server response.
Sample Code
Sample code is provided in the package in the following location:
\samples\OfflineOTP