2 * {- join("\n * ", @autowarntext) -}
4 * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
6 * Licensed under the Apache License 2.0 (the "License"). You may not use
7 * this file except in compliance with the License. You can obtain a copy
8 * in the file LICENSE in the source distribution or at
9 * https://www.openssl.org/source/license.html
13 use OpenSSL::stackhash qw(generate_stack_macros);
17 # define OPENSSL_ESS_H
19 # include <openssl/opensslconf.h>
24 # include <openssl/safestack.h>
25 # include <openssl/x509.h>
26 # include <openssl/esserr.h>
29 typedef struct ESS_issuer_serial ESS_ISSUER_SERIAL;
30 typedef struct ESS_cert_id ESS_CERT_ID;
31 typedef struct ESS_signing_cert ESS_SIGNING_CERT;
34 generate_stack_macros("ESS_CERT_ID");
38 typedef struct ESS_signing_cert_v2_st ESS_SIGNING_CERT_V2;
39 typedef struct ESS_cert_id_v2_st ESS_CERT_ID_V2;
42 generate_stack_macros("ESS_CERT_ID_V2");
46 DECLARE_ASN1_ALLOC_FUNCTIONS(ESS_ISSUER_SERIAL)
47 DECLARE_ASN1_ENCODE_FUNCTIONS_only(ESS_ISSUER_SERIAL, ESS_ISSUER_SERIAL)
48 DECLARE_ASN1_DUP_FUNCTION(ESS_ISSUER_SERIAL)
50 DECLARE_ASN1_ALLOC_FUNCTIONS(ESS_CERT_ID)
51 DECLARE_ASN1_ENCODE_FUNCTIONS_only(ESS_CERT_ID, ESS_CERT_ID)
52 DECLARE_ASN1_DUP_FUNCTION(ESS_CERT_ID)
54 DECLARE_ASN1_ALLOC_FUNCTIONS(ESS_SIGNING_CERT)
55 DECLARE_ASN1_ENCODE_FUNCTIONS_only(ESS_SIGNING_CERT, ESS_SIGNING_CERT)
56 DECLARE_ASN1_DUP_FUNCTION(ESS_SIGNING_CERT)
58 DECLARE_ASN1_ALLOC_FUNCTIONS(ESS_CERT_ID_V2)
59 DECLARE_ASN1_ENCODE_FUNCTIONS_only(ESS_CERT_ID_V2, ESS_CERT_ID_V2)
60 DECLARE_ASN1_DUP_FUNCTION(ESS_CERT_ID_V2)
62 DECLARE_ASN1_ALLOC_FUNCTIONS(ESS_SIGNING_CERT_V2)
63 DECLARE_ASN1_ENCODE_FUNCTIONS_only(ESS_SIGNING_CERT_V2, ESS_SIGNING_CERT_V2)
64 DECLARE_ASN1_DUP_FUNCTION(ESS_SIGNING_CERT_V2)