X509_LOOKUP_ctrl_fn

Control-command callback for an X509_LOOKUP_METHOD.

Synopsis

Declared in <openssl/x509_vfy.h>

typedef int(* X509_LOOKUP_ctrl_fn)(X509_LOOKUP*, int, char const*, long, char**);

Return Value

Positive value on success, or <=0 on failure (command-specific).

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.