Class Handshake

    • Constructor Detail

      • Handshake

        public Handshake()
    • Method Detail

      • getValue

        public String getValue()
        Gets the value of the handshake element.
        Returns:
        The value.
      • create

        public static Handshake create​(String streamId,
                                       String sharedSecret)
        Creates the handshake element from stream id and the shared secret.
        Parameters:
        streamId - The stream id.
        sharedSecret - The shared secret.
        Returns:
        The handshake element.