File indexing completed on 2025-01-18 10:05:52
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifdef _WIN32
0015 # define WINCRYPT_USE_SYMBOL_PREFIX
0016 # undef X509_NAME
0017 # undef X509_EXTENSIONS
0018 # undef PKCS7_SIGNER_INFO
0019 # undef OCSP_REQUEST
0020 # undef OCSP_RESPONSE
0021 #endif
0022
0023 #ifndef OPENSSL_TYPES_H
0024 # define OPENSSL_TYPES_H
0025
0026 # include <limits.h>
0027
0028 # ifdef __cplusplus
0029 extern "C" {
0030 # endif
0031
0032 # include <openssl/e_os2.h>
0033 # include <openssl/safestack.h>
0034 # include <openssl/macros.h>
0035
0036 # if OPENSSL_VERSION_MAJOR >= 4
0037 # define OSSL_FUTURE_CONST const
0038 # else
0039 # define OSSL_FUTURE_CONST
0040 # endif
0041
0042 typedef struct ossl_provider_st OSSL_PROVIDER;
0043
0044 # ifdef NO_ASN1_TYPEDEFS
0045 # define ASN1_INTEGER ASN1_STRING
0046 # define ASN1_ENUMERATED ASN1_STRING
0047 # define ASN1_BIT_STRING ASN1_STRING
0048 # define ASN1_OCTET_STRING ASN1_STRING
0049 # define ASN1_PRINTABLESTRING ASN1_STRING
0050 # define ASN1_T61STRING ASN1_STRING
0051 # define ASN1_IA5STRING ASN1_STRING
0052 # define ASN1_UTCTIME ASN1_STRING
0053 # define ASN1_GENERALIZEDTIME ASN1_STRING
0054 # define ASN1_TIME ASN1_STRING
0055 # define ASN1_GENERALSTRING ASN1_STRING
0056 # define ASN1_UNIVERSALSTRING ASN1_STRING
0057 # define ASN1_BMPSTRING ASN1_STRING
0058 # define ASN1_VISIBLESTRING ASN1_STRING
0059 # define ASN1_UTF8STRING ASN1_STRING
0060 # define ASN1_BOOLEAN int
0061 # define ASN1_NULL int
0062 # else
0063 typedef struct asn1_string_st ASN1_INTEGER;
0064 typedef struct asn1_string_st ASN1_ENUMERATED;
0065 typedef struct asn1_string_st ASN1_BIT_STRING;
0066 typedef struct asn1_string_st ASN1_OCTET_STRING;
0067 typedef struct asn1_string_st ASN1_PRINTABLESTRING;
0068 typedef struct asn1_string_st ASN1_T61STRING;
0069 typedef struct asn1_string_st ASN1_IA5STRING;
0070 typedef struct asn1_string_st ASN1_GENERALSTRING;
0071 typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
0072 typedef struct asn1_string_st ASN1_BMPSTRING;
0073 typedef struct asn1_string_st ASN1_UTCTIME;
0074 typedef struct asn1_string_st ASN1_TIME;
0075 typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
0076 typedef struct asn1_string_st ASN1_VISIBLESTRING;
0077 typedef struct asn1_string_st ASN1_UTF8STRING;
0078 typedef struct asn1_string_st ASN1_STRING;
0079 typedef int ASN1_BOOLEAN;
0080 typedef int ASN1_NULL;
0081 # endif
0082
0083 typedef struct asn1_type_st ASN1_TYPE;
0084 typedef struct asn1_object_st ASN1_OBJECT;
0085 typedef struct asn1_string_table_st ASN1_STRING_TABLE;
0086
0087 typedef struct ASN1_ITEM_st ASN1_ITEM;
0088 typedef struct asn1_pctx_st ASN1_PCTX;
0089 typedef struct asn1_sctx_st ASN1_SCTX;
0090
0091 # ifdef BIGNUM
0092 # undef BIGNUM
0093 # endif
0094
0095 typedef struct bio_st BIO;
0096 typedef struct bignum_st BIGNUM;
0097 typedef struct bignum_ctx BN_CTX;
0098 typedef struct bn_blinding_st BN_BLINDING;
0099 typedef struct bn_mont_ctx_st BN_MONT_CTX;
0100 typedef struct bn_recp_ctx_st BN_RECP_CTX;
0101 typedef struct bn_gencb_st BN_GENCB;
0102
0103 typedef struct buf_mem_st BUF_MEM;
0104
0105 STACK_OF(BIGNUM);
0106 STACK_OF(BIGNUM_const);
0107
0108 typedef struct err_state_st ERR_STATE;
0109
0110 typedef struct evp_cipher_st EVP_CIPHER;
0111 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
0112 typedef struct evp_md_st EVP_MD;
0113 typedef struct evp_md_ctx_st EVP_MD_CTX;
0114 typedef struct evp_mac_st EVP_MAC;
0115 typedef struct evp_mac_ctx_st EVP_MAC_CTX;
0116 typedef struct evp_pkey_st EVP_PKEY;
0117
0118 typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD;
0119
0120 typedef struct evp_pkey_method_st EVP_PKEY_METHOD;
0121 typedef struct evp_pkey_ctx_st EVP_PKEY_CTX;
0122
0123 typedef struct evp_keymgmt_st EVP_KEYMGMT;
0124
0125 typedef struct evp_kdf_st EVP_KDF;
0126 typedef struct evp_kdf_ctx_st EVP_KDF_CTX;
0127
0128 typedef struct evp_rand_st EVP_RAND;
0129 typedef struct evp_rand_ctx_st EVP_RAND_CTX;
0130
0131 typedef struct evp_keyexch_st EVP_KEYEXCH;
0132
0133 typedef struct evp_signature_st EVP_SIGNATURE;
0134
0135 typedef struct evp_asym_cipher_st EVP_ASYM_CIPHER;
0136
0137 typedef struct evp_kem_st EVP_KEM;
0138
0139 typedef struct evp_Encode_Ctx_st EVP_ENCODE_CTX;
0140
0141 typedef struct hmac_ctx_st HMAC_CTX;
0142
0143 typedef struct dh_st DH;
0144 typedef struct dh_method DH_METHOD;
0145
0146 # ifndef OPENSSL_NO_DEPRECATED_3_0
0147 typedef struct dsa_st DSA;
0148 typedef struct dsa_method DSA_METHOD;
0149 # endif
0150
0151 # ifndef OPENSSL_NO_DEPRECATED_3_0
0152 typedef struct rsa_st RSA;
0153 typedef struct rsa_meth_st RSA_METHOD;
0154 # endif
0155 typedef struct rsa_pss_params_st RSA_PSS_PARAMS;
0156
0157 # ifndef OPENSSL_NO_DEPRECATED_3_0
0158 typedef struct ec_key_st EC_KEY;
0159 typedef struct ec_key_method_st EC_KEY_METHOD;
0160 # endif
0161
0162 typedef struct rand_meth_st RAND_METHOD;
0163 typedef struct rand_drbg_st RAND_DRBG;
0164
0165 typedef struct ssl_dane_st SSL_DANE;
0166 typedef struct x509_st X509;
0167 typedef struct X509_algor_st X509_ALGOR;
0168 typedef struct X509_crl_st X509_CRL;
0169 typedef struct x509_crl_method_st X509_CRL_METHOD;
0170 typedef struct x509_revoked_st X509_REVOKED;
0171 typedef struct X509_name_st X509_NAME;
0172 typedef struct X509_pubkey_st X509_PUBKEY;
0173 typedef struct x509_store_st X509_STORE;
0174 typedef struct x509_store_ctx_st X509_STORE_CTX;
0175
0176 typedef struct x509_object_st X509_OBJECT;
0177 typedef struct x509_lookup_st X509_LOOKUP;
0178 typedef struct x509_lookup_method_st X509_LOOKUP_METHOD;
0179 typedef struct X509_VERIFY_PARAM_st X509_VERIFY_PARAM;
0180
0181 typedef struct x509_sig_info_st X509_SIG_INFO;
0182
0183 typedef struct pkcs8_priv_key_info_st PKCS8_PRIV_KEY_INFO;
0184
0185 typedef struct v3_ext_ctx X509V3_CTX;
0186 typedef struct conf_st CONF;
0187 typedef struct ossl_init_settings_st OPENSSL_INIT_SETTINGS;
0188
0189 typedef struct ui_st UI;
0190 typedef struct ui_method_st UI_METHOD;
0191
0192 typedef struct engine_st ENGINE;
0193 typedef struct ssl_st SSL;
0194 typedef struct ssl_ctx_st SSL_CTX;
0195
0196 typedef struct comp_ctx_st COMP_CTX;
0197 typedef struct comp_method_st COMP_METHOD;
0198
0199 typedef struct X509_POLICY_NODE_st X509_POLICY_NODE;
0200 typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL;
0201 typedef struct X509_POLICY_TREE_st X509_POLICY_TREE;
0202 typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE;
0203
0204 typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID;
0205 typedef struct DIST_POINT_st DIST_POINT;
0206 typedef struct ISSUING_DIST_POINT_st ISSUING_DIST_POINT;
0207 typedef struct NAME_CONSTRAINTS_st NAME_CONSTRAINTS;
0208
0209 typedef struct crypto_ex_data_st CRYPTO_EX_DATA;
0210
0211 typedef struct ossl_http_req_ctx_st OSSL_HTTP_REQ_CTX;
0212 typedef struct ocsp_response_st OCSP_RESPONSE;
0213 typedef struct ocsp_responder_id_st OCSP_RESPID;
0214
0215 typedef struct sct_st SCT;
0216 typedef struct sct_ctx_st SCT_CTX;
0217 typedef struct ctlog_st CTLOG;
0218 typedef struct ctlog_store_st CTLOG_STORE;
0219 typedef struct ct_policy_eval_ctx_st CT_POLICY_EVAL_CTX;
0220
0221 typedef struct ossl_store_info_st OSSL_STORE_INFO;
0222 typedef struct ossl_store_search_st OSSL_STORE_SEARCH;
0223
0224 typedef struct ossl_lib_ctx_st OSSL_LIB_CTX;
0225
0226 typedef struct ossl_dispatch_st OSSL_DISPATCH;
0227 typedef struct ossl_item_st OSSL_ITEM;
0228 typedef struct ossl_algorithm_st OSSL_ALGORITHM;
0229 typedef struct ossl_param_st OSSL_PARAM;
0230 typedef struct ossl_param_bld_st OSSL_PARAM_BLD;
0231
0232 typedef int pem_password_cb (char *buf, int size, int rwflag, void *userdata);
0233
0234 typedef struct ossl_encoder_st OSSL_ENCODER;
0235 typedef struct ossl_encoder_ctx_st OSSL_ENCODER_CTX;
0236 typedef struct ossl_decoder_st OSSL_DECODER;
0237 typedef struct ossl_decoder_ctx_st OSSL_DECODER_CTX;
0238
0239 typedef struct ossl_self_test_st OSSL_SELF_TEST;
0240
0241 #ifdef __cplusplus
0242 }
0243 #endif
0244
0245 #endif