pkc_lookup_keys_in_trustlist(3sec)Searches trust list for keys Synopsis #include <pkc_certs.h> unsigned32 pkc_lookup_keys_in_trustlist( pkc_trust_list_t * trust_list, const pkc_trusted_key_t ** key, size_t * key_count, const x500name & owner, utc_t * key_time, const pkc_generic_key_usage_t * usages); Parameters Input
trust_list
owner
key_time
usages Output
key
key_count Description pkc_lookup_keys_in_trustlist(3sec) searches the specified trust list for keys owned by the specified principal at the specified time for the specified usage. The keys are returned in an array of pointers to pkc_trusted_key_t objects, which is allocated on the heap. The pointers point to elements within the trust list; thus the caller should copy into allocated storage if they are expected to remain valid after the deletion of the trust list. This routine is a C++ interface. C++ must be used to perform direct certificate manipulation. See also the contents of the asn.h and x509.h header files, which define some of the basic types used by the low-level certificate manipulation routines. Return Values
pkc_s_success Errors Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages. Related Information
Functions:
Classes:
|