NativeDtlsContext.applyConfig

private void applyConfig(NativeDtlsEngine engine)

Apply stored configuration to a newly created engine.

Parameters

engineThe engine to configure.

Throws

TlsException when the stored configuration is unusable

(e.g. an encrypted private key was configured, which is not supported).