rustls_server_config_builder_set_certified_keys

Provide the configuration a list of certificates where the connection will select the first one that is compatible with the client's signature verification capabilities. Servers that want to support both ECDSA and RSA certificates will want the ECSDA to go first in the list.

The built configuration will keep a reference to all certified keys provided. The client may rustls_certified_key_free() afterwards without the configuration losing them. The same certified key may also be used in multiple configs.

EXPERIMENTAL: installing a client_hello callback will replace any configured certified keys and vice versa.

extern (C)
rustls_server_config_builder_set_certified_keys

Meta