Callback that supplies the current time for TSTInfo genTime.

Synopsis

Declared in <openssl/ts.h>

typedef int(* TS_time_cb)(TS_resp_ctx*, void*, long*, long*);

Return Value

Nonzero on success, or 0 on failure.

Parameters

Name

Description

ctx

Response context requesting the time.

data

Application pointer supplied to TS_RESP_CTX_set_time_cb().

sec

Output seconds since 1970‐01‐01 00:00:00 UTC.

usec

Output microseconds in [0, 999999].

Created with MrDocs