client-final-message-without-proof = channel-binding "," nonce ["," extensions]
client-final-message = client-final-message-without-proof "," proof
Note that extensions are not supported.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public | ClientFinalMessage(Gs2Header
The GSS-API header gs2Header, byte[] If using channel binding, the channel binding data cbindData, String The nonce nonce, byte[] The bytes representing the computed client proof proof)Constructus a client-final-message with the provided gs2Header (the same one used in the client-first-message), optionally the channel binding data, and the nonce. |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| public String | |
| public StringBuffer | writeTo(StringBuffer
Where to write the data. sb)Implements com. |
| private static StringBuffer | |
| private static StringBuffer | |
| public static StringBuffer | Returns: The String representation of the part of the message that excludes the proofThe GSS-API header gs2Header, byte[] The optional channel binding data cbindData, String The nonce nonce)Returns a StringBuffer filled in with the formatted output of a client-first-message without the proof value. |
| cbind | back to summary |
|---|---|
| private final String cbind | |
| nonce | back to summary |
|---|---|
| private final String nonce | |
| proof | back to summary |
|---|---|
| private final byte[] proof | |
| ClientFinalMessage | back to summary |
|---|---|
| public ClientFinalMessage(Gs2Header gs2Header, byte[] cbindData, String nonce, byte[] proof) Constructus a client-final-message with the provided gs2Header (the same one used in the client-first-message), optionally the channel binding data, and the nonce. This method is intended to be used by SCRAM clients, and not to be constructed directly. | |
| generateCBind | back to summary |
|---|---|
| private static String generateCBind(Gs2Header gs2Header, byte[] cbindData) | |
| 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.
| |
| writeToWithoutProof | back to summary |
|---|---|
| private static StringBuffer writeToWithoutProof(StringBuffer sb, String cbind, String nonce) | |
| writeToWithoutProof | back to summary |
|---|---|
| private static StringBuffer writeToWithoutProof(StringBuffer sb, Gs2Header gs2Header, byte[] cbindData, String nonce) | |
| writeToWithoutProof | back to summary |
|---|---|
| public static StringBuffer writeToWithoutProof(Gs2Header gs2Header, byte[] cbindData, String nonce) Returns a StringBuffer filled in with the formatted output of a client-first-message without the proof value. This is useful for computing the auth-message, used in turn to compute the proof.
| |