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.EncodergetName in interface Credentials.Encoderpublic String encode(BareJID user, String password)
Credentials.Encoderencode in interface Credentials.Encoderuser - for which encryptpassword - to encodeCopyright © 2004–2020 "Tigase, Inc.". All rights reserved.