Class HttpJsonConscryptUtils (2.83.0)

public class HttpJsonConscryptUtils

Utility class for creating and configuring NetHttpTransport instances.

Inheritance

java.lang.Object > HttpJsonConscryptUtils

Static Fields

DEFAULT_CONSCRYPT_NAMED_GROUPS

public static final String[] DEFAULT_CONSCRYPT_NAMED_GROUPS

Default TLS 1.3 named groups configured when Conscrypt security provider is present, organized in client preference order:

  1. Standard ML-KEM algorithms: Prioritized first for quantum resistance.
  2. Draft Kyber algorithms: Retained as a fallback for legacy draft PQC deployments.
  3. Classical curves: Fallback for endpoints without PQC support.

In TLS 1.3, the client offers key exchange groups via the supported_groups ClientHello extension in preference order. The server selects the first group it supports.

For details on Conscrypt's supported TLS algorithms, see Conscrypt CAPABILITIES.md.

Field Value
Type Description
String[]

Static Methods

configureConscryptSecurityProvider(NetHttpTransport.Builder builder)

public static NetHttpTransport.Builder configureConscryptSecurityProvider(NetHttpTransport.Builder builder)

Configures the given NetHttpTransport.Builder with Conscrypt as the security provider by default if Conscrypt is available. Users can customize the NetHttpTransport.Builder to use a different security provider.

Parameter
Name Description
builder com.google.api.client.http.javanet.NetHttpTransport.Builder

the NetHttpTransport.Builder to configure

Returns
Type Description
com.google.api.client.http.javanet.NetHttpTransport.Builder

the configured NetHttpTransport.Builder