server-first-message = [reserved-mext ","] nonce "," salt ","
iteration-count ["," extensions]
Note that extensions are not supported.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | |
| public static final int | ITERATION_MIN_VALUE
Minimum allowed value for the iteration, as per the RFC. |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | ServerFirstMessage(String
String representing the client-first-message clientNonce, String Server serverNonce serverNonce, String The salt salt, int The iteration count (must be <= 4096) iteration)Constructs a server-first-message from a client-first-message and the additional required data. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public int | |
| public String | |
| public String | |
| public String | |
| public static ServerFirstMessage | |
| public String | |
| public StringBuffer | writeTo(StringBuffer
Where to write the data. sb)Implements com. |
| clientNonce | back to summary |
|---|---|
| private final String clientNonce | |
| iteration | back to summary |
|---|---|
| private final int iteration | |
| ITERATION_MIN_VALUE | back to summary |
|---|---|
| public static final int ITERATION_MIN_VALUE Minimum allowed value for the iteration, as per the RFC. | |
| salt | back to summary |
|---|---|
| private final String salt | |
| serverNonce | back to summary |
|---|---|
| private final String serverNonce | |
| ServerFirstMessage | back to summary |
|---|---|
| public ServerFirstMessage(String clientNonce, String serverNonce, String salt, int iteration) throws IllegalArgumentException Constructs a server-first-message from a client-first-message and the additional required data.
| |
| getClientNonce | back to summary |
|---|---|
| public String getClientNonce() | |
| getIteration | back to summary |
|---|---|
| public int getIteration() | |
| getNonce | back to summary |
|---|---|
| public String getNonce() | |
| getSalt | back to summary |
|---|---|
| public String getSalt() | |
| getServerNonce | back to summary |
|---|---|
| public String getServerNonce() | |
| parseFrom | back to summary |
|---|---|
| public static ServerFirstMessage parseFrom(String serverFirstMessage, String clientNonce) throws ScramParseException, IllegalArgumentException Parses a server-first-message from a String.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| writeTo | back to summary |
|---|---|
| public StringBuffer writeTo(StringBuffer sb) Implements com. Doc from com. Write the class information to the given StringBuffer.
| |