00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055 #ifndef HEADER_OPENSSL_TYPES_H
00056 #define HEADER_OPENSSL_TYPES_H
00057
00058 #if (defined(__SYMBIAN32__) && !defined(SYMBIAN))
00059 #define SYMBIAN
00060 #endif
00061
00062 #include <openssl/e_os2.h>
00063
00064 #ifdef NO_ASN1_TYPEDEFS
00065 #define ASN1_INTEGER ASN1_STRING
00066 #define ASN1_ENUMERATED ASN1_STRING
00067 #define ASN1_BIT_STRING ASN1_STRING
00068 #define ASN1_OCTET_STRING ASN1_STRING
00069 #define ASN1_PRINTABLESTRING ASN1_STRING
00070 #define ASN1_T61STRING ASN1_STRING
00071 #define ASN1_IA5STRING ASN1_STRING
00072 #define ASN1_UTCTIME ASN1_STRING
00073 #define ASN1_GENERALIZEDTIME ASN1_STRING
00074 #define ASN1_TIME ASN1_STRING
00075 #define ASN1_GENERALSTRING ASN1_STRING
00076 #define ASN1_UNIVERSALSTRING ASN1_STRING
00077 #define ASN1_BMPSTRING ASN1_STRING
00078 #define ASN1_VISIBLESTRING ASN1_STRING
00079 #define ASN1_UTF8STRING ASN1_STRING
00080 #define ASN1_BOOLEAN int
00081 #define ASN1_NULL int
00082 #else
00083 typedef struct asn1_string_st ASN1_INTEGER;
00084 typedef struct asn1_string_st ASN1_ENUMERATED;
00085 typedef struct asn1_string_st ASN1_BIT_STRING;
00086 typedef struct asn1_string_st ASN1_OCTET_STRING;
00087 typedef struct asn1_string_st ASN1_PRINTABLESTRING;
00088 typedef struct asn1_string_st ASN1_T61STRING;
00089 typedef struct asn1_string_st ASN1_IA5STRING;
00090 typedef struct asn1_string_st ASN1_GENERALSTRING;
00091 typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
00092 typedef struct asn1_string_st ASN1_BMPSTRING;
00093 typedef struct asn1_string_st ASN1_UTCTIME;
00094 typedef struct asn1_string_st ASN1_TIME;
00095 typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
00096 typedef struct asn1_string_st ASN1_VISIBLESTRING;
00097 typedef struct asn1_string_st ASN1_UTF8STRING;
00098 typedef int ASN1_BOOLEAN;
00099 typedef int ASN1_NULL;
00100 #endif
00101
00102 #ifdef OPENSSL_SYS_WIN32
00103 #undef X509_NAME
00104 #undef X509_CERT_PAIR
00105 #undef PKCS7_ISSUER_AND_SERIAL
00106 #endif
00107
00108 #ifdef BIGNUM
00109 #undef BIGNUM
00110 #endif
00111 typedef struct bignum_st BIGNUM;
00112 typedef struct bignum_ctx BN_CTX;
00113 typedef struct bn_blinding_st BN_BLINDING;
00114 typedef struct bn_mont_ctx_st BN_MONT_CTX;
00115 typedef struct bn_recp_ctx_st BN_RECP_CTX;
00116 typedef struct bn_gencb_st BN_GENCB;
00117
00118 typedef struct buf_mem_st BUF_MEM;
00119
00120 typedef struct evp_cipher_st EVP_CIPHER;
00121 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
00122 typedef struct env_md_st EVP_MD;
00123 typedef struct env_md_ctx_st EVP_MD_CTX;
00124 typedef struct evp_pkey_st EVP_PKEY;
00125
00126 typedef struct dh_st DH;
00127 typedef struct dh_method DH_METHOD;
00128
00129 typedef struct dsa_st DSA;
00130 typedef struct dsa_method DSA_METHOD;
00131
00132 typedef struct rsa_st RSA;
00133 typedef struct rsa_meth_st RSA_METHOD;
00134
00135 typedef struct rand_meth_st RAND_METHOD;
00136
00137 typedef struct ecdh_method ECDH_METHOD;
00138 typedef struct ecdsa_method ECDSA_METHOD;
00139
00140 typedef struct x509_st X509;
00141 typedef struct X509_algor_st X509_ALGOR;
00142 typedef struct X509_crl_st X509_CRL;
00143 typedef struct X509_name_st X509_NAME;
00144 typedef struct x509_store_st X509_STORE;
00145 typedef struct x509_store_ctx_st X509_STORE_CTX;
00146
00147 typedef struct v3_ext_ctx X509V3_CTX;
00148 typedef struct conf_st CONF;
00149
00150 typedef struct store_st STORE;
00151 typedef struct store_method_st STORE_METHOD;
00152
00153 typedef struct ui_st UI;
00154 typedef struct ui_method_st UI_METHOD;
00155
00156 typedef struct st_ERR_FNS ERR_FNS;
00157
00158 typedef struct engine_st ENGINE;
00159
00160 typedef struct X509_POLICY_NODE_st X509_POLICY_NODE;
00161 typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL;
00162 typedef struct X509_POLICY_TREE_st X509_POLICY_TREE;
00163 typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE;
00164
00165
00166 #define DECLARE_PKCS12_STACK_OF(type)
00167 #define IMPLEMENT_PKCS12_STACK_OF(type)
00168
00169 typedef struct crypto_ex_data_st CRYPTO_EX_DATA;
00170
00171 typedef int CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
00172 int idx, long argl, void *argp);
00173 typedef void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
00174 int idx, long argl, void *argp);
00175 typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, void *from_d,
00176 int idx, long argl, void *argp);
00177
00178 #endif