TokenBindingMessageSerializer extends ProtocolMessageSerializer<TokenBindingMessage> { @Override public byte[] serializeProtocolMessageContent() { appendInt(message.getTokenbindingsLength().getValue(), TokenBindingLength.TOKENBINDINGS); serializeBinding(); return getAlreadySerialized(); } TokenBindingMessageSerializer(TokenBindingMessage message, ProtocolVersion version); @Override byte[] serializeProtocolMessageContent(); byte[] serializeKey(); byte[] serializeBinding();  }
@Test public void testSerializeProtocolMessageContent() { serializer.serialize(); }