pkc_lookup_key_in_trustlist(3sec)Searches a trust list for the specified key Synopsis #include <pkc_certs.h> unsigned32 pkc_lookup_key_in_trustlist( pkc_trust_list_t * _trustlist, const pkc_trusted_key_t ** key, unsigned long key_id); Parameters Input
trust_list
key_id Output
key Description pkc_lookup_key_in_trustlist(3sec) searches the specified trust list for the specified key. In the returned key, the caller will find the following fields. 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. Fields from the Certificate
· start_date
· end_date
· ca_usages
· user_usages
· policies
· constraints Flags:
· trusted ( A char)
· certified (A char)
· certified_by (x500name)
· serial_number (asn_integer) The following fields are copied from the certifying key entry: · certified_start_date (utc_t) · certified._end_date (utc_t) · certified_usages (pkc_ca_key_usage_t) · certified_policies (pkc_key_policies_t) · certified_constraints (pkc_constraints_t)
· revoked (char)
· revocation_date (utc_t)
· key_id (unsigned long)
· ca_key_id (unsigned long)
· old_key_id (unsigned long) · old_ca_key_id (unsigned long) 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:
|