18 #ifndef HEADER_PROXYPOLICY_H
19 #define HEADER_PROXYPOLICY_H
42 #include <openssl/x509.h>
43 #include <openssl/x509v3.h>
50 #define ANY_LANGUAGE_OID "1.3.6.1.5.5.7.21.0"
51 #define ANY_LANGUAGE_SN "ANY_LANGUAGE"
52 #define ANY_LANGUAGE_LN "Any Language"
54 #define IMPERSONATION_PROXY_OID "1.3.6.1.5.5.7.21.1"
55 #define IMPERSONATION_PROXY_SN "IMPERSONATION_PROXY"
56 #define IMPERSONATION_PROXY_LN "GSI impersonation proxy"
58 #define INDEPENDENT_PROXY_OID "1.3.6.1.5.5.7.21.2"
59 #define INDEPENDENT_PROXY_SN "INDEPENDENT_PROXY"
60 #define INDEPENDENT_PROXY_LN "GSI independent proxy"
62 #define LIMITED_PROXY_OID "1.3.6.1.4.1.3536.1.1.1.9"
63 #define LIMITED_PROXY_SN "LIMITED_PROXY"
64 #define LIMITED_PROXY_LN "GSI limited proxy"
67 #define ASN1_F_PROXYPOLICY_NEW 450
68 #define ASN1_F_D2I_PROXYPOLICY 451
89 ASN1_OBJECT * policy_language;
90 ASN1_OCTET_STRING * policy;
95 #ifdef DECLARE_STACK_OF
102 #if OPENSSL_VERSION_NUMBER < 0x10000000L
103 ASN1_METHOD * PROXYPOLICY_asn1_meth();
107 #
if OPENSSL_VERSION_NUMBER >= 0x30000000L
116 int PROXYPOLICY_print(
120 int PROXYPOLICY_print_fp(
124 int PROXYPOLICY_set_policy_language(
126 ASN1_OBJECT * policy_language);
128 ASN1_OBJECT * PROXYPOLICY_get_policy_language(
131 int PROXYPOLICY_set_policy(
133 unsigned char * policy,
136 unsigned char * PROXYPOLICY_get_policy(
140 X509V3_EXT_METHOD * PROXYPOLICY_x509v3_ext_meth();
142 STACK_OF(CONF_VALUE) * i2v_PROXYPOLICY(
143 struct v3_ext_method * method,
145 STACK_OF(CONF_VALUE) * extlist);
Definition: proxypolicy.h:87