public final class ClientFinalMessage extends Object
| cbind-input | gs2-header [ cbind-data ] ;; cbind-data MUST be present for ;; gs2-cbind-flag of "p" and MUST be absent ;; for "y" or "n". |
| channel-binding | "c=" base64 ;; base64 encoding of cbind-input. |
| client-final-message-without-proof | channel-binding "," nonce ["," extensions] |
| client-final-message | client-final-message-without-proof "," proof |
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCbindInput()
Return the channel-binding "c=" base64 encoding of cbind-input.
|
String |
getNonce()
Return the nonce.
|
byte[] |
getProof()
Return the proof.
|
@NotNull String |
toString()
String representation of the SCRAM message.
|
public ClientFinalMessage(Gs2Header gs2Header, byte[] cbindData, String nonce, byte[] proof)
gs2Header - The GSS-API headercbindData - If using channel binding, the channel binding datanonce - The nonceproof - The bytes representing the computed client proofCopyright © 2017–2025 OnGres, Inc. All rights reserved.