IPWorks Auth 2020 ActiveX Edition

Questions / Feedback?

HOTP Control

Properties   Methods   Events   Configuration Settings   Errors  

The HOTP control allows creation of HMAC-Based One-Time passwords.

Syntax

HOTP

Remarks

The HOTP control implements the HOTP algorithm defined in RFC 4226 (HMAC-Based One-Time Password). These types of passwords are commonly used as a second factor of authentication in multi-factor authentication scenarios.

To begin specify the shared secret in the Secret property.

Next, you may set Counter. If this property is not set, the control will use a default value.

To create the password call CreatePassword. The Password property will be populated with the new password.

To validate a password set the Password property and call ValidatePassword. The method will return True or False to indicate success or failure.

Property List


The following is the full list of the properties of the control with short descriptions. Click on the links for further details.

CounterThe counter used for HMAC-Based One Time Password creation or validation.
PasswordThe HMAC-Based One Time Password.
SecretThe Base32 encoded shared secret used when creating and validating a password.

Method List


The following is the full list of the methods of the control with short descriptions. Click on the links for further details.

ConfigSets or retrieves a configuration setting.
CreatePasswordCreates a HMAC-Based One Time Password.
ResetReset the variables to default value.
ValidatePasswordValidates a HMAC-Based One Time Password.

Event List


The following is the full list of the events fired by the control with short descriptions. Click on the links for further details.

ErrorInformation about errors during data delivery.

Configuration Settings


The following is a list of configuration settings for the control with short descriptions. Click on the links for further details.

HashAlgorithmThe hash algorithm used to sign the password.
PasswordLengthThe length of the generated password.
SecretLengthThe length of secret to generate.
CodePageThe system code page used for Unicode to Multibyte translations.
UseInternalSecurityAPITells the control whether or not to use the system security libraries or an internal implementation.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 ActiveX Edition - Version 20.0 [Build 8155]