Patent ID: 8793486

Claim:
A method for buffering SSL handshake messages and generating a message digest for a SSL handshake, the method comprising: (a) conducting, by a device intermediary to a client and a server, an SSL handshake with the client, the SSL handshake comprising a plurality of SSL handshake messages; (b) storing, by the device until a client finish message corresponding to the SSL handshake is received, at least a portion of each of the plurality of SSL handshake messages prior to the device generating a message digest for the SSL handshake; (c) generating, by the device in response to receiving a client finish message corresponding to the SSL handshake, a single message digest for the plurality of SSL handshake messages; and (d) completing, by the device, the SSL handshake with the client if the generated message digest matches a message digest of the SSL client finish message.