Package io.vertx.mutiny.ext.auth.otp
Class OtpKeyGenerator
- java.lang.Object
-
- io.vertx.mutiny.ext.auth.otp.OtpKeyGenerator
-
public class OtpKeyGenerator extends Object
Otp key generator. NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<OtpKeyGenerator>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description OtpKeyGenerator(io.vertx.ext.auth.otp.OtpKeyGenerator delegate)OtpKeyGenerator(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OtpKeyGeneratorcreate()static OtpKeyGeneratorcreate(String algorithm)booleanequals(Object o)io.vertx.ext.auth.otp.OtpKeygenerate()io.vertx.ext.auth.otp.OtpKeygenerate(int keySize)StringgetAlgorithm()io.vertx.ext.auth.otp.OtpKeyGeneratorgetDelegate()inthashCode()static OtpKeyGeneratornewInstance(io.vertx.ext.auth.otp.OtpKeyGenerator arg)StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<OtpKeyGenerator> __TYPE_ARG
-
-
Constructor Detail
-
OtpKeyGenerator
public OtpKeyGenerator(io.vertx.ext.auth.otp.OtpKeyGenerator delegate)
-
OtpKeyGenerator
public OtpKeyGenerator(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.auth.otp.OtpKeyGenerator getDelegate()
-
generate
public io.vertx.ext.auth.otp.OtpKey generate()
- Returns:
OtpKey
-
generate
public io.vertx.ext.auth.otp.OtpKey generate(int keySize)
- Parameters:
keySize- size of key- Returns:
OtpKey
-
getAlgorithm
public String getAlgorithm()
-
create
public static OtpKeyGenerator create()
- Returns:
- the created instance of
OtpKeyGenerator.
-
create
public static OtpKeyGenerator create(String algorithm)
- Parameters:
algorithm- used hash algorithm.- Returns:
- the created instance of
OtpKeyGenerator.
-
newInstance
public static OtpKeyGenerator newInstance(io.vertx.ext.auth.otp.OtpKeyGenerator arg)
-
-