]> git.ipfire.org Git - thirdparty/openssl.git/blob - doc/crypto/SCT_validate.pod
Adds history section to CT PODs
[thirdparty/openssl.git] / doc / crypto / SCT_validate.pod
1 =pod
2
3 =head1 NAME
4
5 SCT_validate, SCT_LIST_validate, SCT_get_validation_status -
6 checks Signed Certificate Timestamps meet a Certificate Transparency policy
7
8 =head1 SYNOPSIS
9
10 #include <openssl/ct.h>
11
12 typedef enum {
13 SCT_VALIDATION_STATUS_NOT_SET,
14 SCT_VALIDATION_STATUS_UNKNOWN_LOG,
15 SCT_VALIDATION_STATUS_VALID,
16 SCT_VALIDATION_STATUS_INVALID,
17 SCT_VALIDATION_STATUS_UNVERIFIED,
18 SCT_VALIDATION_STATUS_UNKNOWN_VERSION
19 } sct_validation_status_t;
20
21 sct_validation_status_t SCT_get_validation_status(const SCT *sct);
22 int SCT_validate(SCT *sct, const CT_POLICY_EVAL_CTX *ctx);
23 int SCT_LIST_validate(const STACK_OF(SCT) *scts, CT_POLICY_EVAL_CTX *ctx);
24
25 =head1 DESCRIPTION
26
27
28
29 =head1 NOTES
30
31
32
33 =head1 RETURN VALUES
34
35
36
37 =head1 SEE ALSO
38
39 L<ct(3)>
40
41 =head1 HISTORY
42
43 These functions were added in OpenSSL 1.1.0.
44
45 =head1 COPYRIGHT
46
47 Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
48
49 Licensed under the OpenSSL license (the "License"). You may not use
50 this file except in compliance with the License. You can obtain a copy
51 in the file LICENSE in the source distribution or at
52 L<https://www.openssl.org/source/license.html>.
53
54 =cut