PreviousNext

pkc_get_registered_policies(3sec)

Returns all registered trust policies

Synopsis

#include <pkc_api.h>

unsigned32 pkc_get_registered_policies(

gss_OID_set * oid_set);

Parameters

Output

oid_set
A set of OIDs which represent all installed policies.

Description

pkc_get_registered_policies(3sec) returns a set of OIDs, which point to all currently installed policies (that is, all pre-loaded policies, plus any policies that have been installed via the policy registration API).

An application will call this routine once during its lifetime. After successfully making the call, the application can choose to use the returned OIDs in a call to pkc_init_trustbase(3sec), etc.

Return Values

pkc_s_success
Operation successfully completed.

Errors

Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.

Related Information

Functions:
pkc_intro(3sec)
pkc_append_to_trustlist(3sec)
pkc_free(3sec)
pkc_free_keyinfo(3sec)
pkc_free_trustbase(3sec)
pkc_free_trustlist(3sec)
pkc_get_key_certifier_count(3sec)
pkc_get_key_certifier_info(3sec)
pkc_get_key_count(3sec)
pkc_get_key_data(3sec)
pkc_get_key_trust_info(3sec)
pkc_init_trustbase(3sec)
pkc_init_trustlist(3sec)
pkc_retrieve_keyinfo(3sec)
pkc_retrieve_keylist(3sec)