pkc_init_trustbase(3sec)Initializes a trust base Synopsis #include <pkc_api.h> unsigned32 pkc_init_trustbase( trustlist_t ** tr_list, gss_OID policy_oid, utc_t time, selection_t * sel, trustbase_t ** base); Parameters Input
tr_list
policy_oid
time
sel Output
base Description pkc_init_trustbase(3sec) initializes the initial trust base to include all the certificates initially trusted, given the initial set of trusted certificates. This routine will also store the cross-certificate pair certificates found during the creation of the trust base. Upon successful return, base will contain a PKC-allocated trust base structure, which should be released with pkc_free_trustbase(3sec) when the application has finished with it. Users will normally call the pkc_ routines in the following order:
1. pkc_get_registered_policies(3sec) 2. pkc_init_trustlist(3sec)
3. pkc_append_to_trustlist(3sec)
4. pkc_init_trustbase(3sec)
5. pkc_retrieve_keylist(3sec) 6. pkc_free_trustlist(3sec) 7. pkc_free_trustbase(3sec) Return Values
pkc_s_success Errors Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages. Related Information
Functions:
|