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
Name |
Description |
ssl |
SSL connection requesting a client certificate. |
ca_dn |
Acceptable CA distinguished names from the server, or NULL. |
pcert |
Receives the selected client certificate. |
pkey |
Receives the matching private key. |
pother |
Optional chain certificates to send, or NULL if unused. |
ui_method |
UI method for interactive PIN/passphrase prompts, or NULL. |
callback_data |
User pointer associated with the ENGINE load operation. |
Created with MrDocs