Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<OtpKeyGenerator> |
__TYPE_ARG |
Constructor and Description |
---|
OtpKeyGenerator(Object delegate) |
OtpKeyGenerator(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) |
OtpKey |
generate()
Generate key with default size;
|
OtpKey |
generate(int keySize)
Generate key
|
String |
getAlgorithm() |
OtpKeyGenerator |
getDelegate() |
int |
hashCode() |
static OtpKeyGenerator |
newInstance(OtpKeyGenerator arg) |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<OtpKeyGenerator> __TYPE_ARG
public OtpKeyGenerator(OtpKeyGenerator delegate)
public OtpKeyGenerator(Object delegate)
public OtpKeyGenerator getDelegate()
public OtpKey generate(int keySize)
keySize
- size of keyOtpKey
public String getAlgorithm()
public static OtpKeyGenerator create()
OtpKeyGenerator
.public static OtpKeyGenerator create(String algorithm)
algorithm
- used hash algorithm.OtpKeyGenerator
.public static OtpKeyGenerator newInstance(OtpKeyGenerator arg)
Copyright © 2024 Eclipse. All rights reserved.