Interface EntityCapabilities

    • Method Detail

      • getCapabilityHashSet

        Set<Hashed> getCapabilityHashSet()
        Gets the capability hash set.
        Returns:
        The capability hash set.
      • createVerificationString

        byte[] createVerificationString​(DiscoverableInfo discoverableInfo)
        Creates an UTF-8 encoded verification string from a disco#info query.

        The returned byte array is neither hashed nor base64 encoded. It should be used as input for generating the capability hash set.

        Parameters:
        discoverableInfo - The query.
        Returns:
        The caps string, aka. verification string.
      • createCapabilityHashNode

        String createCapabilityHashNode​(Hashed hashed)
        Creates the Capability Hash Node.

        This node is used to query the generating entity via a Service Discovery Info query (disco#info).

        Parameters:
        hashed - The pair of hash algorithm and value.
        Returns:
        The node.