17 #ifndef HEADER_PROXYCERTINFO_H 18 #define HEADER_PROXYCERTINFO_H 26 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET 59 #include <openssl/asn1.h> 60 #include <openssl/x509.h> 61 #include <openssl/x509v3.h> 77 #define PROXYCERTINFO_OLD_OID "1.3.6.1.4.1.3536.1.222" 78 #define PROXYCERTINFO_OID "1.3.6.1.5.5.7.1.14" 79 #define PROXYCERTINFO_SN "PROXYCERTINFO" 80 #define PROXYCERTINFO_LN "Proxy Certificate Info Extension" 81 #define PROXYCERTINFO_OLD_SN "OLD_PROXYCERTINFO" 82 #define PROXYCERTINFO_OLD_LN "Proxy Certificate Info Extension (old OID)" 87 #define ASN1_F_PROXYCERTINFO_NEW 430 88 #define ASN1_F_D2I_PROXYCERTINFO 431 90 #ifndef GLOBUS_DEPRECATED 91 #define GLOBUS_DEPRECATED_IN_PROXYCERTINFO_H 93 # define GLOBUS_DEPRECATED(func) func __attribute__((deprecated)) 94 #elif defined(_MSC_VER) 95 # define GLOBUS_DEPRECATED(func) __declspec(deprecated) func 97 # define GLOBUS_DEPRECATED(func) func 126 ASN1_INTEGER * path_length;
132 #ifdef DECLARE_STACK_OF 133 DECLARE_STACK_OF(PROXYCERTINFO)
136 DECLARE_ASN1_FUNCTIONS(PROXYCERTINFO)
140 #define d2i_PROXYCERTINFO_bio(bp, pci) \ 141 (PROXYCERTINFO *) ASN1_d2i_bio((char *(*)()) PROXYCERTINFO_new, \ 142 (char *(*)()) d2i_PROXYCERTINFO, \ 143 (bp), (unsigned char **) pci) 145 #define i2d_PROXYCERTINFO_bio(bp, pci) \ 146 ASN1_i2d_bio(i2d_PROXYCERTINFO, bp, \ 147 (unsigned char *)pci) 151 #if OPENSSL_VERSION_NUMBER < 0x10000000L 152 ASN1_METHOD * PROXYCERTINFO_asn1_meth();
156 PROXYCERTINFO * PROXYCERTINFO_dup(
157 PROXYCERTINFO * cert_info));
159 GLOBUS_DEPRECATED(
int PROXYCERTINFO_cmp(
160 const PROXYCERTINFO * a,
161 const PROXYCERTINFO * b));
163 GLOBUS_DEPRECATED(
int PROXYCERTINFO_print(
165 PROXYCERTINFO * cert_info));
167 GLOBUS_DEPRECATED(
int PROXYCERTINFO_print_fp(
169 PROXYCERTINFO * cert_info));
171 GLOBUS_DEPRECATED(
int PROXYCERTINFO_set_policy(
172 PROXYCERTINFO * cert_info,
175 GLOBUS_DEPRECATED(
PROXYPOLICY * PROXYCERTINFO_get_policy(
176 PROXYCERTINFO * cert_info));
178 GLOBUS_DEPRECATED(
int PROXYCERTINFO_set_path_length(
179 PROXYCERTINFO * cert_info,
182 GLOBUS_DEPRECATED(
long PROXYCERTINFO_get_path_length(
183 PROXYCERTINFO * cert_info));
185 GLOBUS_DEPRECATED(X509V3_EXT_METHOD * PROXYCERTINFO_x509v3_ext_meth());
187 X509V3_EXT_METHOD * PROXYCERTINFO_OLD_x509v3_ext_meth();
189 GLOBUS_DEPRECATED(STACK_OF(CONF_VALUE) * i2v_PROXYCERTINFO(
190 struct v3_ext_method * method,
192 STACK_OF(CONF_VALUE) * extlist));
198 #ifdef GLOBUS_DEPRECATED_IN_PROXYCERTINFO_H 199 # ifdef GLOBUS_DEPRECATED 200 # undef GLOBUS_DEPRECATED 202 # undef GLOBUS_DEPRECATED_IN_PROXYCERTINFO_H Definition: proxycertinfo.h:124
Definition: proxypolicy.h:87