public class ClientFinalMessage extends Object implements StringWritable
client-final-message-without-proof = channel-binding "," nonce ["," extensions]
client-final-message = client-final-message-without-proof "," proof
Note that extensions are not supported.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 |
toString() |
StringBuffer |
writeTo(StringBuffer sb)
Write the class information to the given StringBuffer.
|
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.
|
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 proofpublic static StringBuffer writeToWithoutProof(Gs2Header gs2Header, byte[] cbindData, String nonce)
gs2Header
- The GSS-API headercbindData
- The optional channel binding datanonce
- The noncepublic StringBuffer writeTo(StringBuffer sb)
StringWritable
writeTo
in interface StringWritable
sb
- Where to write the data.Copyright © 2019–2022. All rights reserved.