Interface DtlsServerConnection.Builder<B extends Builder<B>>

All Superinterfaces:
BuilderInterface
Enclosing interface:
DtlsServerConnection

public static interface DtlsServerConnection.Builder<B extends Builder<B>> extends BuilderInterface
Since:
2.48
  • Method Details

    • setAuthenticationMode

      default B setAuthenticationMode(TlsAuthenticationMode authenticationMode)
      The GTlsAuthenticationMode for 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 the authentication-mode property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      2.48