public class ScramPlusMechanism extends AbstractScram
AbstractScram.BindTypeUTF_CHARSETSASL_COMPLETE_KEYFORCE_AUTHZID| Modifier | Constructor and Description |
|---|---|
|
ScramPlusMechanism() |
protected |
ScramPlusMechanism(String mechanismName,
String algorithm,
byte[] clientKey,
byte[] serverKey) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
getBindData(AbstractScram.BindType bindType,
SessionObject sessionObject) |
protected AbstractScram.BindType |
getBindType(SessionObject sessionObject) |
boolean |
isAllowedToUse(SessionObject sessionObject)
This method is used to check if mechanism can be used with current
session.
|
evaluateChallenge, getData, h, hi, hmac, key, name, normalize, randomString, xorisComplete, setCompleteprotected byte[] getBindData(AbstractScram.BindType bindType, SessionObject sessionObject)
getBindData in class AbstractScramprotected AbstractScram.BindType getBindType(SessionObject sessionObject)
getBindType in class AbstractScrampublic boolean isAllowedToUse(SessionObject sessionObject)
SaslMechanismisAllowedToUse in interface SaslMechanismisAllowedToUse in class AbstractScramsessionObject - current SessionObjecttrue if mechanism can be used it current XMPP session.Copyright © 2006–2018 Tigase. All rights reserved.