| 程序包 | 说明 |
|---|---|
| io.polaris.core.crypto.otp |
| 限定符和类型 | 方法和说明 |
|---|---|
OtpHmacHashAlgorithm |
GoogleAuthenticatorConfig.getHmacHash()
Returns the cryptographic hash function used to calculate the HMAC (Hash-based
Message Authentication Code).
|
static OtpHmacHashAlgorithm |
OtpHmacHashAlgorithm.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static OtpHmacHashAlgorithm[] |
OtpHmacHashAlgorithm.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
GoogleAuthenticatorConfig.GoogleAuthenticatorConfigBuilder |
GoogleAuthenticatorConfig.GoogleAuthenticatorConfigBuilder.hmacHash(OtpHmacHashAlgorithm hmacHash) |
| 构造器和说明 |
|---|
OneTimePasswordGenerator(int length,
OtpHmacHashAlgorithm algorithm) |
TimeBasedOneTimePasswordGenerator(Duration timeStep,
int length,
OtpHmacHashAlgorithm algorithm) |
Copyright © 2024 fossc. All rights reserved.