1TS_VERIFY_CTX_SET_CERTS(3ossl)      OpenSSL     TS_VERIFY_CTX_SET_CERTS(3ossl)
2
3
4

NAME

6       TS_VERIFY_CTX_set_certs, TS_VERIFY_CTS_set_certs - set certificates for
7       TS response verification
8

SYNOPSIS

10        #include <openssl/ts.h>
11
12        STACK_OF(X509) *TS_VERIFY_CTX_set_certs(TS_VERIFY_CTX *ctx,
13                                                STACK_OF(X509) *certs);
14        STACK_OF(X509) *TS_VERIFY_CTS_set_certs(TS_VERIFY_CTX *ctx,
15                                                STACK_OF(X509) *certs);
16

DESCRIPTION

18       The Time-Stamp Protocol (TSP) is defined by RFC 3161. TSP is a protocol
19       used to provide long term proof of the existence of a certain datum
20       before a particular time. TSP defines a Time Stamping Authority (TSA)
21       and an entity who shall make requests to the TSA. Usually the TSA is
22       denoted as the server side and the requesting entity is denoted as the
23       client.
24
25       In TSP, when a server is sending a response to a client, the server
26       normally needs to sign the response data - the TimeStampToken (TST) -
27       with its private key. Then the client shall verify the received TST by
28       the server's certificate chain.
29
30       TS_VERIFY_CTX_set_certs() is used to set the server's certificate chain
31       when verifying a TST. ctx is the verification context created in
32       advance and certs is a stack of X509 certificates.
33
34       TS_VERIFY_CTS_set_certs() is a misspelled version of
35       TS_VERIFY_CTX_set_certs() which takes the same parameters and returns
36       the same result.
37

RETURN VALUES

39       TS_VERIFY_CTX_set_certs() returns the stack of X509 certificates the
40       user passes in via parameter certs.
41

SEE ALSO

43       OSSL_ESS_check_signing_certs(3)
44

HISTORY

46       The spelling of TS_VERIFY_CTX_set_certs() was corrected in OpenSSL
47       3.0.0.  The misspelled version TS_VERIFY_CTS_set_certs() has been
48       retained for compatibility reasons, but it is deprecated in OpenSSL
49       3.0.0.
50
52       Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
53
54       Licensed under the Apache License 2.0 (the "License").  You may not use
55       this file except in compliance with the License.  You can obtain a copy
56       in the file LICENSE in the source distribution or at
57       <https://www.openssl.org/source/license.html>.
58
59
60
613.0.5                             2022-07-05    TS_VERIFY_CTX_SET_CERTS(3ossl)
Impressum