TS_extension_cb

Callback that processes a requested extension while building TSTInfo.

Synopsis

Declared in <openssl/ts.h>

typedef int(* TS_extension_cb)(TS_resp_ctx*, X509_EXTENSION*, void*);

Return Value

Nonzero if processed, or 0 on error (must set status/failure info).

Parameters

NameDescription
ctxResponse context whose TSTInfo may be modified.
extExtension from the request to handle.
dataApplication pointer supplied to TS_RESP_CTX_set_extension_cb().