Interface FingerprintSocket


public interface FingerprintSocket
A socket of a FingerprintSslContext: the ClientHello profile it presents, and what the context was given to go with it (FingerprintSslContext.Builder.attach(java.lang.Object)), such as the HTTP/2 fingerprint for connections over it.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns what the context was given to go with its sockets, or null.
    default boolean
    Whether the handshake was with Encrypted Client Hello (RFC 9849) and the server accepted it, so the server name and the rest of the real ClientHello went encrypted.
    Returns the ClientHello profile the socket presents.
  • Method Details

    • profile

      Returns the ClientHello profile the socket presents.
      Returns:
      the ClientHello profile the socket presents
    • attachment

      Object attachment()
      Returns what the context was given to go with its sockets, or null.
      Returns:
      what the context was given to go with its sockets, or null
    • echAccepted

      default boolean echAccepted()
      Whether the handshake was with Encrypted Client Hello (RFC 9849) and the server accepted it, so the server name and the rest of the real ClientHello went encrypted.
      Returns:
      true once a handshake has completed with ECH accepted; false otherwise