Top Description Fields Constructors Methods
io.netty5.handler.ssl

public final Enum SslProvider

extends Enum<SslProvider>
Class Inheritance
Imports
io.netty5.util.ReferenceCounted, io.netty5.util.internal.UnstableApi, java.security.Provider

An enumeration of SSL/TLS protocol providers.

Field Summary

Modifier and TypeField and Description
public static final SslProvider
JDK

JDK's default implementation.

public static final SslProvider
OPENSSL

OpenSSL-based implementation.

public static final SslProvider
OPENSSL_REFCNT

OpenSSL-based implementation which does not have finalizers and instead implements ReferenceCounted.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static boolean
isAlpnSupported(final SslProvider provider)

Returns true if the specified SslProvider supports TLS ALPN Extension, false otherwise.

pack-priv static boolean
isTlsv13EnabledByDefault(final SslProvider sslProvider, Provider provider)

Returns true if the specified SslProvider enables TLS 1.3 by default, false otherwise.

public static boolean
isTlsv13Supported(final SslProvider sslProvider)

Returns true if the specified SslProvider supports TLS 1.3, false otherwise.

public static boolean
isTlsv13Supported(final SslProvider sslProvider, Provider provider)

Returns true if the specified SslProvider supports TLS 1.3, false otherwise.

public static SslProvider
public static SslProvider[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

JDKback to summary
public static final SslProvider JDK

JDK's default implementation.

OPENSSLback to summary
public static final SslProvider OPENSSL

OpenSSL-based implementation.

OPENSSL_REFCNTback to summary
public static final SslProvider OPENSSL_REFCNT

OpenSSL-based implementation which does not have finalizers and instead implements ReferenceCounted.

Annotations
@UnstableApi

Constructor Detail

SslProviderback to summary
private SslProvider()

Method Detail

isAlpnSupportedback to summary
public static boolean isAlpnSupported(final SslProvider provider)

Returns true if the specified SslProvider supports TLS ALPN Extension, false otherwise.

Annotations
@SuppressWarnings:deprecation
isTlsv13EnabledByDefaultback to summary
pack-priv static boolean isTlsv13EnabledByDefault(final SslProvider sslProvider, Provider provider)

Returns true if the specified SslProvider enables TLS 1.3 by default, false otherwise.

isTlsv13Supportedback to summary
public static boolean isTlsv13Supported(final SslProvider sslProvider)

Returns true if the specified SslProvider supports TLS 1.3, false otherwise.

isTlsv13Supportedback to summary
public static boolean isTlsv13Supported(final SslProvider sslProvider, Provider provider)

Returns true if the specified SslProvider supports TLS 1.3, false otherwise.

valueOfback to summary
public static SslProvider valueOf(String name)
valuesback to summary
public static SslProvider[] values()