rustls_client_config_builder_set_certified_key

Provide the configuration a list of certificates where the connection will select the first one that is compatible with the server's signature verification capabilities. Clients 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 authentication callback will replace any configured certified keys and vice versa.

extern (C)
rustls_client_config_builder_set_certified_key

Meta