X509_policy_tree_get0_user_policies

Return the user-policy nodes from a certificate policy tree.

Synopsis

Declared in <openssl/x509_vfy.h>

stack_st_X509_POLICY_NODE*
X509_policy_tree_get0_user_policies(X509_POLICY_TREE const* tree);

Return Value

Internal STACK_OF(X509_POLICY_NODE) of user policies (do not free), or NULL if none.

Parameters

NameDescription
treePolicy tree produced by policy evaluation.