Record Class ProxyProtocolV2Data.Tlv.SslCipher
java.lang.Object
java.lang.Record
io.helidon.webserver.ProxyProtocolV2Data.Tlv.SslCipher
- Record Components:
cipher- The cipher name.
- All Implemented Interfaces:
ProxyProtocolV2Data.Tlv
- Enclosing interface:
ProxyProtocolV2Data.Tlv
public static record ProxyProtocolV2Data.Tlv.SslCipher(String cipher)
extends Record
implements ProxyProtocolV2Data.Tlv
The name of the used cipher, for example "ECDHE-RSA-AES128-GCM-SHA256".
-
Nested Class Summary
Nested classes/interfaces inherited from interface ProxyProtocolV2Data.Tlv
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.UnregisteredModifier and TypeInterfaceDescriptionstatic final recordApplication-Layer Protocol Negotiation (ALPN).static final recordContains the host name value passed by the client, as an UTF8-encoded string.static final recordThe value of the type PP2_TYPE_CRC32C is a 32-bit number storing the CRC32c checksum of the PROXY protocol header.static final recordDefines the value as the US-ASCII string representation of the namespace's name.static final recordThe TLV of this type should be ignored when parsed.static final recordContains information about the SSL presented by the proxied client.static final recordThe name of the used cipher, for example "ECDHE-RSA-AES128-GCM-SHA256".static final recordContains the representation of the Common Name field (OID: 2.5.4.3) of the client certificate's Distinguished Name.static final recordThe 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 recordThe 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 recordContains informatino about the version of the TLS protocol used.static final recordThe 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 recordA TLV whose type is not defined in the protocol specification. -
Field Summary
Fields inherited from interface ProxyProtocolV2Data.Tlv
PP2_SUBTYPE_SSL_CIPHER, PP2_SUBTYPE_SSL_CN, PP2_SUBTYPE_SSL_KEY_ALG, PP2_SUBTYPE_SSL_SIG_ALG, PP2_SUBTYPE_SSL_VERSION, PP2_TYPE_ALPN, PP2_TYPE_AUTHORITY, PP2_TYPE_CRC32C, PP2_TYPE_NETNS, PP2_TYPE_NOOP, PP2_TYPE_SSL, PP2_TYPE_UNIQUE_IDModifier and TypeFieldDescriptionstatic final intThe PP2_SUBTYPE_SSL_CIPHER TLV type identifier.static final intThe PP2_SUBTYPE_SSL_CN TLV type identifier.static final intThe PP2_SUBTYPE_SSL_KEY_ALG TLV type identifier.static final intThe PP2_SUBTYPE_SSL_SIG_ALG TLV type identifier.static final intThe PP2_SUBTYPE_SSL_VERSION TLV type identifier.static final intThe PP2_TYPE_ALPN TLV type identifier.static final intThe PP2_TYPE_AUTHORITY TLV type identifier.static final intThe PP2_TYPE_CRC32C TLV type identifier.static final intThe PP2_TYPE_NETNS TLV type identifier.static final intThe PP2_TYPE_NOOP TLV type identifier.static final intThe PP2_TYPE_SSL TLV type identifier.static final intThe PP2_TYPE_UNIQUE_ID TLV type identifier. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncipher()Returns the value of thecipherrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.inttype()Returns the TLV's type identifier.
-
Constructor Details
-
SslCipher
-
-
Method Details
-
type
public int type()Description copied from interface:ProxyProtocolV2Data.TlvReturns the TLV's type identifier.- Specified by:
typein interfaceProxyProtocolV2Data.Tlv- Returns:
- The type identifier.
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
cipher
-