X509_LOOKUP_ctrl_ex_fn

Extended control callback for an X509_LOOKUP_METHOD (with library context).

Synopsis

Declared in <openssl/x509_vfy.h>

typedef int(* X509_LOOKUP_ctrl_ex_fn)(X509_LOOKUP*, int, char const*, long, char**, OSSL_LIB_CTX*, char const*);

Return Value

Command-specific positive value on success, or non-positive on failure.

Parameters

NameDescription
ctxLookup object receiving the command.
cmdControl command such as X509_L_FILE_LOAD.
argcString argument for cmd, or NULL.
arglInteger argument for cmd.
retOptional address receiving a result string, or NULL.
libctxLibrary context for algorithm fetches, or NULL for the default.
propqProperty query for algorithm fetches, or NULL.