Class PostQuantumHybridKeyExchangeExamples
java.lang.Object
net.jrodolfo.java_evolution.java27.tls_hybrid_key_exchange.PostQuantumHybridKeyExchangeExamples
Demonstrates Java 27's post-quantum hybrid TLS named-group configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe first hybrid group exposed by the Java 27 default TLS provider. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboundary()Explains the deliberately local scope of this example.String[]Configures a TLS parameter object for the hybrid group.String[]Returns the named groups advertised by the default TLS context.booleanReturns whether the default provider exposes the named hybrid group.
-
Field Details
-
HYBRID_GROUP
The first hybrid group exposed by the Java 27 default TLS provider.- See Also:
-
-
Constructor Details
-
PostQuantumHybridKeyExchangeExamples
public PostQuantumHybridKeyExchangeExamples()
-
-
Method Details
-
defaultNamedGroups
Returns the named groups advertised by the default TLS context.- Throws:
NoSuchAlgorithmException
-
configureHybridGroup
Configures a TLS parameter object for the hybrid group.- Throws:
NoSuchAlgorithmException
-
boundary
Explains the deliberately local scope of this example. -
supportsHybridGroup
Returns whether the default provider exposes the named hybrid group.- Throws:
NoSuchAlgorithmException
-