Class OtpKeyGenerator
java.lang.Object
io.vertx.reactivex.ext.auth.otp.OtpKeyGenerator
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OtpKeyGeneratorcreate()Creates an instance of OtpKeyGenerator.static OtpKeyGeneratorCreates an instance of OtpKeyGenerator.booleangenerate()Generate key with default size;generate(int keySize) Generate keyinthashCode()static OtpKeyGeneratortoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
OtpKeyGenerator
-
OtpKeyGenerator
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
generate
-
generate
-
getAlgorithm
-
create
Creates an instance of OtpKeyGenerator.- Returns:
- the created instance of
OtpKeyGenerator.
-
create
Creates an instance of OtpKeyGenerator.- Parameters:
algorithm- used hash algorithm.- Returns:
- the created instance of
OtpKeyGenerator.
-
newInstance
-