public class OtpKeyGenerator extends Object
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static TypeArg<OtpKeyGenerator> |
__TYPE_ARG |
| Constructor and Description |
|---|
OtpKeyGenerator(Object delegate) |
OtpKeyGenerator(io.vertx.ext.auth.otp.OtpKeyGenerator delegate) |
| Modifier and Type | Method and Description |
|---|---|
static OtpKeyGenerator |
create()
Creates an instance of OtpKeyGenerator.
|
static OtpKeyGenerator |
create(String algorithm)
Creates an instance of OtpKeyGenerator.
|
boolean |
equals(Object o) |
io.vertx.ext.auth.otp.OtpKey |
generate()
Generate key with default size;
|
io.vertx.ext.auth.otp.OtpKey |
generate(int keySize)
Generate key
|
String |
getAlgorithm() |
io.vertx.ext.auth.otp.OtpKeyGenerator |
getDelegate() |
int |
hashCode() |
static OtpKeyGenerator |
newInstance(io.vertx.ext.auth.otp.OtpKeyGenerator arg) |
String |
toString() |
public static final TypeArg<OtpKeyGenerator> __TYPE_ARG
public OtpKeyGenerator(io.vertx.ext.auth.otp.OtpKeyGenerator delegate)
public OtpKeyGenerator(Object delegate)
public io.vertx.ext.auth.otp.OtpKeyGenerator getDelegate()
public io.vertx.ext.auth.otp.OtpKey generate()
OtpKeypublic io.vertx.ext.auth.otp.OtpKey generate(int keySize)
keySize - size of keyOtpKeypublic String getAlgorithm()
public static OtpKeyGenerator create()
OtpKeyGenerator.public static OtpKeyGenerator create(String algorithm)
algorithm - used hash algorithm.OtpKeyGenerator.public static OtpKeyGenerator newInstance(io.vertx.ext.auth.otp.OtpKeyGenerator arg)
Copyright © 2022 Eclipse. All rights reserved.