public static class ScramCredentialsEntry.Encoder extends Object implements Credentials.Encoder
Modifier | Constructor and Description |
---|---|
|
Encoder() |
protected |
Encoder(String algorithm) |
Modifier and Type | Method and Description |
---|---|
String |
encode(BareJID user,
String password)
Encrypt plaintext password for user
|
String |
getName()
Name of mechanism for which encoder works
|
public Encoder()
protected Encoder(String algorithm)
public String getName()
Credentials.Encoder
getName
in interface Credentials.Encoder
public String encode(BareJID user, String password)
Credentials.Encoder
encode
in interface Credentials.Encoder
user
- for which encryptpassword
- to encodeCopyright © 2004–2021 "Tigase, Inc.". All rights reserved.