ENGINE_SSL_CLIENT_CERT_PTR

ENGINE callback that supplies a client certificate and key for an SSL connection.

Synopsis

Declared in <openssl/engine.h>

typedef int(* ENGINE_SSL_CLIENT_CERT_PTR)(ENGINE*, SSL*, stack_st_X509_NAME*, X509**, EVP_PKEY**, stack_st_X509**, UI_METHOD*, void*);

Return Value

1 on success, 0 on failure, or a negative value on fatal error.

Parameters

NameDescription
sslSSL connection requesting a client certificate.
ca_dnAcceptable CA distinguished names from the server, or NULL.
pcertReceives the selected client certificate.
pkeyReceives the matching private key.
potherOptional chain certificates to send, or NULL if unused.
ui_methodUI method for interactive PIN/passphrase prompts, or NULL.
callback_dataUser pointer associated with the ENGINE load operation.