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 96 DECLARE_STACK_OF(PROXYPOLICY)
98 DECLARE_ASN1_FUNCTIONS(PROXYPOLICY)
102 #if OPENSSL_VERSION_NUMBER < 0x10000000L 103 ASN1_METHOD * PROXYPOLICY_asn1_meth();
106 PROXYPOLICY * PROXYPOLICY_dup(
107 PROXYPOLICY * policy);
110 const PROXYPOLICY * a,
111 const PROXYPOLICY * b);
113 int PROXYPOLICY_print(
115 PROXYPOLICY * policy);
117 int PROXYPOLICY_print_fp(
119 PROXYPOLICY * policy);
121 int PROXYPOLICY_set_policy_language(
122 PROXYPOLICY * policy,
123 ASN1_OBJECT * policy_language);
125 ASN1_OBJECT * PROXYPOLICY_get_policy_language(
126 PROXYPOLICY * policy);
128 int PROXYPOLICY_set_policy(
129 PROXYPOLICY * proxypolicy,
130 unsigned char * policy,
133 unsigned char * PROXYPOLICY_get_policy(
134 PROXYPOLICY * policy,
137 X509V3_EXT_METHOD * PROXYPOLICY_x509v3_ext_meth();
139 STACK_OF(CONF_VALUE) * i2v_PROXYPOLICY(
140 struct v3_ext_method * method,
142 STACK_OF(CONF_VALUE) * extlist);
Definition: proxypolicy.h:87