]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/ess.h
Update copyright year
[thirdparty/openssl.git] / include / openssl / ess.h
CommitLineData
e85d19c6 1/*
454afd98 2 * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
e85d19c6
AI
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
ae4186b0
DMSP
10#ifndef OPENSSL_ESS_H
11# define OPENSSL_ESS_H
e85d19c6
AI
12
13# include <openssl/opensslconf.h>
14
15# ifdef __cplusplus
16extern "C" {
17# endif
18# include <openssl/safestack.h>
19# include <openssl/x509.h>
20# include <openssl/esserr.h>
21
852c2ed2 22
e85d19c6
AI
23typedef struct ESS_issuer_serial ESS_ISSUER_SERIAL;
24typedef struct ESS_cert_id ESS_CERT_ID;
25typedef struct ESS_signing_cert ESS_SIGNING_CERT;
26
01659135
RL
27DEFINE_OR_DECLARE_STACK_OF(ESS_CERT_ID)
28
e85d19c6
AI
29typedef struct ESS_signing_cert_v2_st ESS_SIGNING_CERT_V2;
30typedef struct ESS_cert_id_v2_st ESS_CERT_ID_V2;
31
01659135 32DEFINE_OR_DECLARE_STACK_OF(ESS_CERT_ID_V2)
e85d19c6 33
9fdcc21f
DO
34DECLARE_ASN1_ALLOC_FUNCTIONS(ESS_ISSUER_SERIAL)
35DECLARE_ASN1_ENCODE_FUNCTIONS_only(ESS_ISSUER_SERIAL, ESS_ISSUER_SERIAL)
36DECLARE_ASN1_DUP_FUNCTION(ESS_ISSUER_SERIAL)
e85d19c6 37
9fdcc21f
DO
38DECLARE_ASN1_ALLOC_FUNCTIONS(ESS_CERT_ID)
39DECLARE_ASN1_ENCODE_FUNCTIONS_only(ESS_CERT_ID, ESS_CERT_ID)
40DECLARE_ASN1_DUP_FUNCTION(ESS_CERT_ID)
e85d19c6 41
9fdcc21f
DO
42DECLARE_ASN1_ALLOC_FUNCTIONS(ESS_SIGNING_CERT)
43DECLARE_ASN1_ENCODE_FUNCTIONS_only(ESS_SIGNING_CERT, ESS_SIGNING_CERT)
44DECLARE_ASN1_DUP_FUNCTION(ESS_SIGNING_CERT)
e85d19c6 45
9fdcc21f
DO
46DECLARE_ASN1_ALLOC_FUNCTIONS(ESS_CERT_ID_V2)
47DECLARE_ASN1_ENCODE_FUNCTIONS_only(ESS_CERT_ID_V2, ESS_CERT_ID_V2)
48DECLARE_ASN1_DUP_FUNCTION(ESS_CERT_ID_V2)
e85d19c6 49
9fdcc21f
DO
50DECLARE_ASN1_ALLOC_FUNCTIONS(ESS_SIGNING_CERT_V2)
51DECLARE_ASN1_ENCODE_FUNCTIONS_only(ESS_SIGNING_CERT_V2, ESS_SIGNING_CERT_V2)
52DECLARE_ASN1_DUP_FUNCTION(ESS_SIGNING_CERT_V2)
e85d19c6
AI
53
54# ifdef __cplusplus
55}
56# endif
57#endif