AfdServerTlsGroup Class

public final class AfdServerTlsGroup
extends ExpandableStringEnum<AfdServerTlsGroup>

Supported key-exchange groups and curves. The ML-KEM groups are hybrid post-quantum groups.

Field Summary

Modifier and Type Field and Description
static final AfdServerTlsGroup PRIME256V1

The prime256v1 elliptic curve group.

static final AfdServerTlsGroup SECP384R1

The secp384r1 elliptic curve group.

static final AfdServerTlsGroup SECP521R1

The secp521r1 elliptic curve group.

static final AfdServerTlsGroup SEC_P256R1MLKEM768

Hybrid post-quantum group combining secp256r1 with ML-KEM-768.

static final AfdServerTlsGroup SEC_P384R1MLKEM1024

Hybrid post-quantum group combining secp384r1 with ML-KEM-1024.

static final AfdServerTlsGroup X25519

The X25519 elliptic curve group.

static final AfdServerTlsGroup X25519MLKEM768

Hybrid post-quantum group combining X25519 with ML-KEM-768.

Constructor Summary

Constructor Description
AfdServerTlsGroup()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AfdServerTlsGroup value.

Method Summary

Modifier and Type Method and Description
static AfdServerTlsGroup fromString(String name)

Creates or finds a AfdServerTlsGroup from its string representation.

static Collection<AfdServerTlsGroup> values()

Gets known AfdServerTlsGroup values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PRIME256V1

public static final AfdServerTlsGroup PRIME256V1

The prime256v1 elliptic curve group.

SECP384R1

public static final AfdServerTlsGroup SECP384R1

The secp384r1 elliptic curve group.

SECP521R1

public static final AfdServerTlsGroup SECP521R1

The secp521r1 elliptic curve group.

SEC_P256R1MLKEM768

public static final AfdServerTlsGroup SEC_P256R1MLKEM768

Hybrid post-quantum group combining secp256r1 with ML-KEM-768.

SEC_P384R1MLKEM1024

public static final AfdServerTlsGroup SEC_P384R1MLKEM1024

Hybrid post-quantum group combining secp384r1 with ML-KEM-1024.

X25519

public static final AfdServerTlsGroup X25519

The X25519 elliptic curve group.

X25519MLKEM768

public static final AfdServerTlsGroup X25519MLKEM768

Hybrid post-quantum group combining X25519 with ML-KEM-768.

Constructor Details

AfdServerTlsGroup

@Deprecated
public AfdServerTlsGroup()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AfdServerTlsGroup value.

Method Details

fromString

public static AfdServerTlsGroup fromString(String name)

Creates or finds a AfdServerTlsGroup from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AfdServerTlsGroup.

values

public static Collection<AfdServerTlsGroup> values()

Gets known AfdServerTlsGroup values.

Returns:

known AfdServerTlsGroup values.

Applies to