-
Constructors in com.bastiaanjansen.otp with parameters of type HMACAlgorithm
| Constructor |
Description |
OneTimePasswordGenerator(int passwordLength,
HMACAlgorithm algorithm,
String secret) |
Constructs the generator with custom password length and hashing algorithm
|
OneTimePasswordGenerator(HMACAlgorithm algorithm,
String secret) |
Constructs generator with a custom hashing algorithm and default password length
|
TOTPGenerator(int passwordLength,
HMACAlgorithm algorithm,
String secret) |
Constructs generator with custom password length and hashing algorithm
|
TOTPGenerator(int passwordLength,
java.time.Duration period,
HMACAlgorithm algorithm,
String secret) |
Constructs generator with custom password length, time interval and hashing algorithm
|
TOTPGenerator(HMACAlgorithm algorithm,
String secret) |
Constructs generator with custom hashing algorithm and default time interval
|
TOTPGenerator(java.time.Duration period,
HMACAlgorithm algorithm,
String secret) |
Constructs generator with custom time interval and hashing algorithm
|