ASN1_OPT(POLICY_CONSTRAINTS, requireExplicitPolicy, ASN1_INTEGER), ASN1_OPT(POLICY_CONSTRAINTS, inhibitPolicyMapping, ASN1_INTEGER)
ASN1_IMP_OPT(POLICY_CONSTRAINTS, requireExplicitPolicy, ASN1_INTEGER,0), ASN1_IMP_OPT(POLICY_CONSTRAINTS, inhibitPolicyMapping, ASN1_INTEGER,1)
static STACK_OF(CONF_VALUE) *i2v_POLICY_CONSTRAINTS(X509V3_EXT_METHOD *method,				void *bcons, STACK_OF(CONF_VALUE) *extlist);static void *v2i_POLICY_CONSTRAINTS(X509V3_EXT_METHOD *method,				X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values);X509V3_EXT_METHOD v3_policy_constraints = {NID_policy_constraints, 0,ASN1_ITEM_ref(POLICY_CONSTRAINTS),0,0,0,0,0,0,i2v_POLICY_CONSTRAINTS,v2i_POLICY_CONSTRAINTS,NULL,NULL,NULL};ASN1_SEQUENCE(POLICY_CONSTRAINTS) = {	ASN1_OPT(POLICY_CONSTRAINTS, requireExplicitPolicy, ASN1_INTEGER),	ASN1_OPT(POLICY_CONSTRAINTS, inhibitPolicyMapping, ASN1_INTEGER)} ASN1_SEQUENCE_END(POLICY_CONSTRAINTS)IMPLEMENT_ASN1_ALLOC_FUNCTIONS(POLICY_CONSTRAINTS)static STACK_OF(CONF_VALUE) *i2v_POLICY_CONSTRAINTS(X509V3_EXT_METHOD *method,	     void *a, STACK_OF(CONF_VALUE) *extlist){	POLICY_CONSTRAINTS *pcons = a;	X509V3_add_value_int("Require Explicit Policy",			pcons->requireExplicitPolicy, &extlist);	X509V3_add_value_int("Inhibit Policy Mapping",			pcons->inhibitPolicyMapping, &extlist);	return extlist;}