Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<JDBCHashStrategy> |
__TYPE_ARG |
Constructor and Description |
---|
JDBCHashStrategy(JDBCHashStrategy delegate) |
JDBCHashStrategy(Object delegate) |
Modifier and Type | Method and Description |
---|---|
String |
computeHash(String password,
String salt,
int version)
Deprecated.
|
static JDBCHashStrategy |
createPBKDF2(Vertx vertx)
Deprecated.
|
static JDBCHashStrategy |
createSHA512(Vertx vertx)
Deprecated.
|
boolean |
equals(Object o) |
String |
generateSalt()
Deprecated.
|
JDBCHashStrategy |
getDelegate() |
String |
getHashedStoredPwd(JsonArray row)
Deprecated.
|
String |
getSalt(JsonArray row)
Deprecated.
|
int |
hashCode() |
static boolean |
isEqual(String hasha,
String hashb)
Deprecated.
|
static JDBCHashStrategy |
newInstance(JDBCHashStrategy arg) |
void |
setNonces(JsonArray nonces)
Deprecated.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<JDBCHashStrategy> __TYPE_ARG
public JDBCHashStrategy(JDBCHashStrategy delegate)
public JDBCHashStrategy(Object delegate)
public JDBCHashStrategy getDelegate()
@Deprecated public static JDBCHashStrategy createSHA512(Vertx vertx)
vertx
- the vert.x instance@Deprecated public static JDBCHashStrategy createPBKDF2(Vertx vertx)
vertx
- the vert.x instance@Deprecated public String generateSalt()
@Deprecated public String computeHash(String password, String salt, int version)
password
- the unhashed passwordsalt
- the saltversion
- the nonce version to use@Deprecated public String getHashedStoredPwd(JsonArray row)
row
- the row@Deprecated public String getSalt(JsonArray row)
row
- the row@Deprecated public void setNonces(JsonArray nonces)
nonces
- a json array.@Deprecated public static boolean isEqual(String hasha, String hashb)
hasha
- hash a to comparehashb
- hash b to comparepublic static JDBCHashStrategy newInstance(JDBCHashStrategy arg)
Copyright © 2023 Eclipse. All rights reserved.