Dtls12Server.signKeyExchange

ubyte[] signKeyExchange(const(ubyte)[] params)

Sign the key exchange parameters.

Per RFC 5246 §7.4.3 the signature covers client_random || server_random || ServerKeyExchange params.

Parameters

paramsThe key exchange parameters to sign.

Returns

The signature bytes.

Throws

TlsException when no private key is configured or the

key type is unsupported.