mac.update((byte) ','); byte[] clientFinalMessage = finalResponse.getRawMessageBytes(); mac.update(clientFinalMessage, 0, finalResponse.getProofOffset()); byte[] serverSignature = mac.doFinal(); if(trace) saslScram.tracef("[C] Recovered server signature: %s%n", ByteIterator.ofBytes(serverSignature).hexEncode().drainToString());
mac.update((byte) ','); final byte[] response = clientMessage.getRawMessageBytes(); final int proofOffset = clientMessage.getProofOffset(); mac.update(response, 0, proofOffset); // client-final-message-without-proof if(trace) saslScram.tracef("[S] Using client final message without proof: %s%n", ByteIterator.ofBytes(copyOfRange(response, 0, proofOffset)).hexEncode().drainToString());
mac.update((byte) ','); byte[] clientFinalMessage = finalResponse.getRawMessageBytes(); mac.update(clientFinalMessage, 0, finalResponse.getProofOffset()); byte[] serverSignature = mac.doFinal(); if(trace) saslScram.tracef("[C] Recovered server signature: %s%n", ByteIterator.ofBytes(serverSignature).hexEncode().drainToString());
mac.update((byte) ','); byte[] clientFinalMessage = finalResponse.getRawMessageBytes(); mac.update(clientFinalMessage, 0, finalResponse.getProofOffset()); byte[] serverSignature = mac.doFinal(); if(trace) saslScram.tracef("[C] Recovered server signature: %s%n", ByteIterator.ofBytes(serverSignature).hexEncode().drainToString());
mac.update((byte) ','); byte[] clientFinalMessage = finalResponse.getRawMessageBytes(); mac.update(clientFinalMessage, 0, finalResponse.getProofOffset()); byte[] serverSignature = mac.doFinal(); if(trace) saslScram.tracef("[C] Recovered server signature: %s%n", ByteIterator.ofBytes(serverSignature).hexEncode().drainToString());
mac.update((byte) ','); final byte[] response = clientMessage.getRawMessageBytes(); final int proofOffset = clientMessage.getProofOffset(); mac.update(response, 0, proofOffset); // client-final-message-without-proof if(trace) saslScram.tracef("[S] Using client final message without proof: %s%n", ByteIterator.ofBytes(copyOfRange(response, 0, proofOffset)).hexEncode().drainToString());
mac.update((byte) ','); final byte[] response = clientMessage.getRawMessageBytes(); final int proofOffset = clientMessage.getProofOffset(); mac.update(response, 0, proofOffset); // client-final-message-without-proof if(trace) saslScram.tracef("[S] Using client final message without proof: %s%n", ByteIterator.ofBytes(copyOfRange(response, 0, proofOffset)).hexEncode().drainToString());
mac.update((byte) ','); final byte[] response = clientMessage.getRawMessageBytes(); final int proofOffset = clientMessage.getProofOffset(); mac.update(response, 0, proofOffset); // client-final-message-without-proof if(trace) saslScram.tracef("[S] Using client final message without proof: %s%n", ByteIterator.ofBytes(copyOfRange(response, 0, proofOffset)).hexEncode().drainToString());