Constructs a new HandshakeMessage.
HandshakeMessage clientFinish.
HandshakeMessage clientHello.
HandshakeMessage serverHello.
Converts this HandshakeMessage to JSON.
JSON object
Creates a new HandshakeMessage instance using the specified properties.
HandshakeMessage instance
Decodes a HandshakeMessage message from the specified reader or buffer.
Reader or buffer to decode from
HandshakeMessage
Decodes a HandshakeMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
HandshakeMessage
Encodes the specified HandshakeMessage message. Does not implicitly verify messages.
HandshakeMessage message or plain object to encode
Writer
Encodes the specified HandshakeMessage message, length delimited. Does not implicitly verify messages.
HandshakeMessage message or plain object to encode
Writer
Creates a HandshakeMessage message from a plain object. Also converts values to their respective internal types.
Plain object
HandshakeMessage
Creates a plain object from a HandshakeMessage message. Also converts values to other types if specified.
HandshakeMessage
Plain object
Verifies a HandshakeMessage message.
Plain object to verify
null
if valid, otherwise the reason why it is not
Generated using TypeDoc
Represents a HandshakeMessage.