Interface ProxyProtocolV2Data.Tlv

All Known Implementing Classes:
ProxyProtocolV2Data.Tlv.Alpn, ProxyProtocolV2Data.Tlv.Authority, ProxyProtocolV2Data.Tlv.Crc32c, ProxyProtocolV2Data.Tlv.Netns, ProxyProtocolV2Data.Tlv.Noop, ProxyProtocolV2Data.Tlv.Ssl, ProxyProtocolV2Data.Tlv.SslCipher, ProxyProtocolV2Data.Tlv.SslCn, ProxyProtocolV2Data.Tlv.SslKeyAlg, ProxyProtocolV2Data.Tlv.SslSigAlg, ProxyProtocolV2Data.Tlv.SslVersion, ProxyProtocolV2Data.Tlv.UniqueId, ProxyProtocolV2Data.Tlv.Unregistered
Enclosing interface:
ProxyProtocolV2Data

A Tag-Length-Value vector.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Application-Layer Protocol Negotiation (ALPN).
    static final record 
    Contains the host name value passed by the client, as an UTF8-encoded string.
    static final record 
    The value of the type PP2_TYPE_CRC32C is a 32-bit number storing the CRC32c checksum of the PROXY protocol header.
    static final record 
    Defines the value as the US-ASCII string representation of the namespace's name.
    static final record 
    The TLV of this type should be ignored when parsed.
    static final record 
    Contains information about the SSL presented by the proxied client.
    static final record 
    The name of the used cipher, for example "ECDHE-RSA-AES128-GCM-SHA256".
    static final record 
    Contains the representation of the Common Name field (OID: 2.5.4.3) of the client certificate's Distinguished Name.
    static final record 
    The name of the algorithm used to generate the key of the certificate presented by the frontend when the incoming connection was made over an SSL/TLS transport layer, for example "RSA2048".
    static final record 
    The name of the algorithm used to sign the certificate presented by the frontend when the incoming connection was made over an SSL/TLS transport layer, for example "SHA256".
    static final record 
    Contains informatino about the version of the TLS protocol used.
    static final record 
    The value of the type PP2_TYPE_UNIQUE_ID is an opaque byte sequence of up to 128 bytes generated by the upstream proxy that uniquely identifies the connection.
    static final record 
    A TLV whose type is not defined in the protocol specification.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The PP2_SUBTYPE_SSL_CIPHER TLV type identifier.
    static final int
    The PP2_SUBTYPE_SSL_CN TLV type identifier.
    static final int
    The PP2_SUBTYPE_SSL_KEY_ALG TLV type identifier.
    static final int
    The PP2_SUBTYPE_SSL_SIG_ALG TLV type identifier.
    static final int
    The PP2_SUBTYPE_SSL_VERSION TLV type identifier.
    static final int
    The PP2_TYPE_ALPN TLV type identifier.
    static final int
    The PP2_TYPE_AUTHORITY TLV type identifier.
    static final int
    The PP2_TYPE_CRC32C TLV type identifier.
    static final int
    The PP2_TYPE_NETNS TLV type identifier.
    static final int
    The PP2_TYPE_NOOP TLV type identifier.
    static final int
    The PP2_TYPE_SSL TLV type identifier.
    static final int
    The PP2_TYPE_UNIQUE_ID TLV type identifier.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the TLV's type identifier.
  • Field Details

    • PP2_TYPE_ALPN

      static final int PP2_TYPE_ALPN
      The PP2_TYPE_ALPN TLV type identifier.
      See Also:
    • PP2_TYPE_AUTHORITY

      static final int PP2_TYPE_AUTHORITY
      The PP2_TYPE_AUTHORITY TLV type identifier.
      See Also:
    • PP2_TYPE_CRC32C

      static final int PP2_TYPE_CRC32C
      The PP2_TYPE_CRC32C TLV type identifier.
      See Also:
    • PP2_TYPE_NOOP

      static final int PP2_TYPE_NOOP
      The PP2_TYPE_NOOP TLV type identifier.
      See Also:
    • PP2_TYPE_UNIQUE_ID

      static final int PP2_TYPE_UNIQUE_ID
      The PP2_TYPE_UNIQUE_ID TLV type identifier.
      See Also:
    • PP2_TYPE_SSL

      static final int PP2_TYPE_SSL
      The PP2_TYPE_SSL TLV type identifier.
      See Also:
    • PP2_SUBTYPE_SSL_VERSION

      static final int PP2_SUBTYPE_SSL_VERSION
      The PP2_SUBTYPE_SSL_VERSION TLV type identifier.
      See Also:
    • PP2_SUBTYPE_SSL_CN

      static final int PP2_SUBTYPE_SSL_CN
      The PP2_SUBTYPE_SSL_CN TLV type identifier.
      See Also:
    • PP2_SUBTYPE_SSL_CIPHER

      static final int PP2_SUBTYPE_SSL_CIPHER
      The PP2_SUBTYPE_SSL_CIPHER TLV type identifier.
      See Also:
    • PP2_SUBTYPE_SSL_SIG_ALG

      static final int PP2_SUBTYPE_SSL_SIG_ALG
      The PP2_SUBTYPE_SSL_SIG_ALG TLV type identifier.
      See Also:
    • PP2_SUBTYPE_SSL_KEY_ALG

      static final int PP2_SUBTYPE_SSL_KEY_ALG
      The PP2_SUBTYPE_SSL_KEY_ALG TLV type identifier.
      See Also:
    • PP2_TYPE_NETNS

      static final int PP2_TYPE_NETNS
      The PP2_TYPE_NETNS TLV type identifier.
      See Also:
  • Method Details

    • type

      int type()
      Returns the TLV's type identifier.
      Returns:
      The type identifier.