Load an SSL client certificate and key via an ENGINE (deprecated).

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
int
ENGINE_load_ssl_client_cert(
    ENGINE* e,
    SSL* s,
    stack_st_X509_NAME* ca_dn,
    X509** pcert,
    EVP_PKEY** ppkey,
    stack_st_X509** pother,
    UI_METHOD* ui_method,
    void* callback_data);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

e

Initialised ENGINE that implements SSL client‐cert loading.

s

SSL connection requesting a client certificate.

ca_dn

Acceptable CA names from the server, or NULL.

pcert

Receives the selected client certificate.

ppkey

Receives the matching private key.

pother

Optional stack receiving additional chain certificates, or NULL.

ui_method

UI method for PIN/passphrase prompts, or NULL.

callback_data

Application pointer passed to ui_method.

Created with MrDocs