Go to the source code of this file.
Classes | |
struct | X509_POLICY_DATA_st |
struct | X509_POLICY_CACHE_st |
struct | X509_POLICY_NODE_st |
struct | X509_POLICY_LEVEL_st |
struct | X509_POLICY_TREE_st |
Macros | |
#define | POLICY_DATA_FLAG_MAPPED 0x1 |
#define | POLICY_DATA_FLAG_MAPPED_ANY 0x2 |
#define | POLICY_DATA_FLAG_MAP_MASK 0x3 |
#define | POLICY_DATA_FLAG_SHARED_QUALIFIERS 0x4 |
#define | POLICY_DATA_FLAG_EXTRA_NODE 0x8 |
#define | POLICY_DATA_FLAG_CRITICAL 0x10 |
#define | POLICY_FLAG_ANY_POLICY 0x2 |
#define | node_data_critical(data) (data->flags & POLICY_DATA_FLAG_CRITICAL) |
#define | node_critical(node) node_data_critical(node->data) |
Typedefs | |
typedef struct X509_POLICY_DATA_st | X509_POLICY_DATA |
Functions | |
X509_POLICY_DATA * | policy_data_new (POLICYINFO *policy, const ASN1_OBJECT *id, int crit) |
void | policy_data_free (X509_POLICY_DATA *data) |
X509_POLICY_DATA * | policy_cache_find_data (const X509_POLICY_CACHE *cache, const ASN1_OBJECT *id) |
int | policy_cache_set_mapping (X509 *x, POLICY_MAPPINGS *maps) |
STACK_OF (X509_POLICY_NODE)*policy_node_cmp_new(void) | |
void | policy_cache_init (void) |
void | policy_cache_free (X509_POLICY_CACHE *cache) |
X509_POLICY_NODE * | level_find_node (const X509_POLICY_LEVEL *level, const X509_POLICY_NODE *parent, const ASN1_OBJECT *id) |
X509_POLICY_NODE * | tree_find_sk (STACK_OF(X509_POLICY_NODE)*sk, const ASN1_OBJECT *id) |
X509_POLICY_NODE * | level_add_node (X509_POLICY_LEVEL *level, const X509_POLICY_DATA *data, X509_POLICY_NODE *parent, X509_POLICY_TREE *tree) |
void | policy_node_free (X509_POLICY_NODE *node) |
int | policy_node_match (const X509_POLICY_LEVEL *lvl, const X509_POLICY_NODE *node, const ASN1_OBJECT *oid) |
const X509_POLICY_CACHE * | policy_cache_set (X509 *x) |
#define node_critical | ( | node | ) | node_data_critical(node->data) |
#define node_data_critical | ( | data | ) | (data->flags & POLICY_DATA_FLAG_CRITICAL) |
typedef struct X509_POLICY_DATA_st X509_POLICY_DATA |
X509_POLICY_NODE* level_add_node | ( | X509_POLICY_LEVEL * | level, |
const X509_POLICY_DATA * | data, | ||
X509_POLICY_NODE * | parent, | ||
X509_POLICY_TREE * | tree | ||
) |
Definition at line 112 of file pcy_node.c.
X509_POLICY_NODE* level_find_node | ( | const X509_POLICY_LEVEL * | level, |
const X509_POLICY_NODE * | parent, | ||
const ASN1_OBJECT * | id | ||
) |
Definition at line 94 of file pcy_node.c.
X509_POLICY_DATA* policy_cache_find_data | ( | const X509_POLICY_CACHE * | cache, |
const ASN1_OBJECT * | id | ||
) |
Definition at line 260 of file pcy_cache.c.
void policy_cache_free | ( | X509_POLICY_CACHE * | cache | ) |
Definition at line 235 of file pcy_cache.c.
const X509_POLICY_CACHE* policy_cache_set | ( | X509 * | x | ) |
Definition at line 246 of file pcy_cache.c.
int policy_cache_set_mapping | ( | X509 * | x, |
POLICY_MAPPINGS * | maps | ||
) |
void policy_data_free | ( | X509_POLICY_DATA * | data | ) |
Definition at line 67 of file pcy_data.c.
X509_POLICY_DATA* policy_data_new | ( | POLICYINFO * | policy, |
const ASN1_OBJECT * | id, | ||
int | crit | ||
) |
Definition at line 85 of file pcy_data.c.
void policy_node_free | ( | X509_POLICY_NODE * | node | ) |
Definition at line 165 of file pcy_node.c.
int policy_node_match | ( | const X509_POLICY_LEVEL * | lvl, |
const X509_POLICY_NODE * | node, | ||
const ASN1_OBJECT * | oid | ||
) |
Definition at line 174 of file pcy_node.c.
STACK_OF | ( | X509_POLICY_NODE | ) |
X509_POLICY_NODE* tree_find_sk | ( | STACK_OF(X509_POLICY_NODE)* | sk, |
const ASN1_OBJECT * | id | ||
) |
Definition at line 76 of file pcy_node.c.