PreviousNext

pkc_key_policies.class(3sec)

A class that expresses policy rules and operation

Member Functions

Public

· pkc_key_policies_t(void)
Initializes to "all policies OK''.

· unsigned32 set( )
Takes the following argument:

- const pkc_key_policy_t & pol

· unsigned32 set( )
Adds an allowed policy. Takes the following argument:

- const gss_OID pol

· unsigned32 set_none(void)
Sets "no policies permitted''.

· unsigned32 set_all(void)
Sets "all policies permitted''.

· unsigned32 constrain( )
Takes the following argument:

- const pkc_key_policies_t & pol

· pkc_key_policies_t & operator = (const pkc_key_policies_t & ol)

Description

pkc_key_policies_t embodies rules and operations for key policies.

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_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)
pkc_trusted_key.class(3sec)