Interface DtlsServerConnection.Builder<B extends Builder<B>>
- All Superinterfaces:
BuilderInterface
- Enclosing interface:
DtlsServerConnection
- Since:
- 2.48
-
Method Summary
Modifier and TypeMethodDescriptiondefault BsetAuthenticationMode(TlsAuthenticationMode authenticationMode) TheGTlsAuthenticationModefor the server.Methods inherited from interface BuilderInterface
addBuilderProperty, connect, connect, getArena
-
Method Details
-
setAuthenticationMode
TheGTlsAuthenticationModefor the server. This can be changed before calling g_dtls_connection_handshake() if you want to rehandshake with a different mode from the initial handshake.- Parameters:
authenticationMode- the value for theauthentication-modeproperty- Returns:
- the
Builderinstance is returned, to allow method chaining - Since:
- 2.48
-