TS_VERIFY_CTX_set_certs

Set the untrusted certificate stack used when verifying a time-stamp token.

Synopsis

Declared in <openssl/ts.h>

stack_st_X509*
TS_VERIFY_CTX_set_certs(
    TS_VERIFY_CTX* ctx,
    stack_st_X509* certs);

Return Value

The certificate stack now stored in ctx.

Parameters

NameDescription
ctxVerification context to update.
certsCertificate stack taken over by the context (freed on cleanup), or NULL.