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

Name

Description

ctx

Lookup object receiving the command.

cmd

Control command such as X509_L_FILE_LOAD.

argc

String argument for cmd, or NULL.

argl

Integer argument for cmd.

ret

Optional address receiving a result string, or NULL.

Created with MrDocs