pkc_trusted_key.class(3sec) — Subroutines
NAME
pkc_trusted_key.class — Trusted public key class
Member Data
Public
•SubjectPublicKeyInfo value
•x500name owner
Member Functions
Public
•pkc_trusted_key_t(void)
•pkc_trusted_key_t()
Takes following arguments:
•utc_t startDate
•utc_t endDate
•pkc_ca_key_usage_t caUsages
•pkc_key_usage_t userUsages
•pkc_key_policies_t keyPolicies
•pkc_constraints_t keyConstraints
•unsigned32 get_start_date() const
Takes the following argument:
•utc_t ∗ start_date
•unsigned32 get_end_date() const
Takes the following argument:
•utc_t ∗ start_date
•unsigned32 get_usages() const
Takes the following argument:
•pkc_key_usage_t ∗ user_usages
•unsigned32 get_ca_usages() const
Takes the following argument:
•pkc_ca_key_usage_t ∗ ca_usages
•unsigned32 get_key_policies() const
Takes the following argument:
•pkc_key_policies_t ∗ policies
•unsigned32 get_constraints() const
Takes the following argument:
•pkc_constraints_t ∗ constraints
•unsigned32 get_certifier() const
Takes the following argument:
•x500name & name
•unsigned32 get_certifier() const
Takes the following argument:
•pkc_trusted_key_t ∗∗ ca
•char valid_at() const
Takes the following argument:
•utc_t ∗ time
•pkc_trusted_key_t & operator = (const pkc_trusted_key_t & o)
•char may_certify() const
Takes the following arguments:
•const x500name & subject
•unsigned long usage = PKC_CAKEY_USAGE_KEY_CERT_SIGN
•char may_certify() const
Takes the following arguments:
•const x500name & subject
•const pkc_ca_key_usage_t & usage
Description
pkc_trusted_key_t is a class that expresses trust in a public key. It is very much like a certificate, but with trust pre-established, rather than based on a signature.
This class has the friend class pkc_trust_list_t.
The certificate manipulation routines are a C++ interface. C++ must be used to perform direct certificate manipulation.
Related Information
Classes: pkc_ca_key_usage.class(3sec), pkc_constraints.class(3sec), pkc_generic_key_usage.class(3sec), pkc_key_policies.class(3sec), pkc_key_policy.class(3sec), pkc_key_usage.class(3sec), pkc_name_subord_constraint.class(3sec), pkc_name_subord_constraints.class(3sec), pkc_name_subtree_constraint.class(3sec), pkc_name_subtree_constraints.class(3sec), pkc_pending_revocation.class(3sec), pkc_revocation.class(3sec), pkc_revocation_list.class(3sec), pkc_trust_list.class(3sec), pkc_trust_list_element.class(3sec).
Functions: pkc_add_trusted_key(3sec), pkc_lookup_keys_in_trustlist(3sec), pkc_lookup_key_in_trustlist(3sec), pkc_check_cert_against_trustlist(3sec), pkc_revoke_certificate(3sec), pkc_revoke_certificates(3sec), pkc_delete_trustlist(3sec), pkc_copy_trustlist(3sec).