Install a callback that supplies a client certificate during handshake.
Declared in <openssl/ssl.h>
void
SSL_CTX_set_client_cert_cb(
SSL_CTX* ctx,
int(* client_cert_cb)(SSL*, X509**, EVP_PKEY**));
| Name | Description |
|---|---|
| ctx | SSL context whose connections inherit client_cert_cb. |
| client_cert_cb | Callback that sets *x509 and *pkey, or NULL to clear. |