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 theoriginal
non 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 OtpKeyGenerator
create()
static OtpKeyGenerator
create(String algorithm)
boolean
equals(Object o)
io.vertx.ext.auth.otp.OtpKey
generate()
io.vertx.ext.auth.otp.OtpKey
generate(int keySize)
String
getAlgorithm()
io.vertx.ext.auth.otp.OtpKeyGenerator
getDelegate()
int
hashCode()
static OtpKeyGenerator
newInstance(io.vertx.ext.auth.otp.OtpKeyGenerator arg)
String
toString()
-
-
-
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)
-
-