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
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();
157 #
if OPENSSL_VERSION_NUMBER >= 0x30000000L
162 GLOBUS_DEPRECATED(
int PROXYCERTINFO_cmp(
166 GLOBUS_DEPRECATED(
int PROXYCERTINFO_print(
170 GLOBUS_DEPRECATED(
int PROXYCERTINFO_print_fp(
174 GLOBUS_DEPRECATED(
int PROXYCERTINFO_set_policy(
178 GLOBUS_DEPRECATED(
PROXYPOLICY * PROXYCERTINFO_get_policy(
181 GLOBUS_DEPRECATED(
int PROXYCERTINFO_set_path_length(
185 GLOBUS_DEPRECATED(
long PROXYCERTINFO_get_path_length(
188 GLOBUS_DEPRECATED(X509V3_EXT_METHOD * PROXYCERTINFO_x509v3_ext_meth());
190 X509V3_EXT_METHOD * PROXYCERTINFO_OLD_x509v3_ext_meth();
192 GLOBUS_DEPRECATED(STACK_OF(CONF_VALUE) * i2v_PROXYCERTINFO(
193 struct v3_ext_method * method,
195 STACK_OF(CONF_VALUE) * extlist));
201 #ifdef GLOBUS_DEPRECATED_IN_PROXYCERTINFO_H
202 # ifdef GLOBUS_DEPRECATED
203 # undef GLOBUS_DEPRECATED
205 # undef GLOBUS_DEPRECATED_IN_PROXYCERTINFO_H
Definition: proxycertinfo.h:124
Definition: proxypolicy.h:87