public final class Challenge extends java.lang.Object implements StreamElement
The implementation of the <challenge/>
element, which is sent during SASL negotiation.
6.4.3. Challenge-Response Sequence
If necessary, the receiving entity challenges the initiating entity by sending a
<challenge/>
element qualified by the ‘urn:ietf:params:xml:ns:xmpp-sasl’ namespace; this element MAY contain XML character data (which MUST be generated in accordance with the definition of the SASL mechanism chosen by the initiating entity).
This class is immutable.
Response
Constructor and Description |
---|
Challenge(byte[] value)
Creates the challenge.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getValue()
Gets the value, i.e. the challenge.
|
java.lang.String |
toString() |
Copyright © 2014–2019 XMPP.rocks. All rights reserved.