class PolicyChecker

A PolicyChecker goes through all the Policy certificates available for the given resource, and all the Use Condition certificates associated with the Policy certificates collected so far.

Inheritance:


Public Methods

[more] PolicyChecker ()
Constructs this object
[more] ~PolicyChecker ()
Destroys this object
[more]bool checkPolicy (const string& resource, CertInfoCollector &cinfoCol, AkentiMessage& mesg)
Collects Policy certificates associated with a resources; collects AkentiMessages that state if the certificates were verified, or had some error associated with them; Collects Use Condition certificates associated with the above Policy certificates - and error or "OK" messages associated with them.


Inherited from LogInterface:

Public Methods

ovoid iLog(int level, const string& key, const string& mesg = "") const
ovoid bLog(int level, const string& key, const string& mesg = "") const
ovoid sLog(int level, const string& key, const string& mesg = "") const
ovoid fLog(int level, const string& key, const string& mesg = "") const


Documentation

A PolicyChecker goes through all the Policy certificates available for the given resource, and all the Use Condition certificates associated with the Policy certificates collected so far. In all cases it collects an error message if the certificate has a problem or an "OK" message if it was fine. It also collects information on whether the certificates were used or not. This file is based on the original PolicyChecker written by Abdelilah Essiari and Srilekha Mudumbai

see @AKRuntime see @PolicyContext see CertInfoCollector

o PolicyChecker()
Constructs this object

o ~PolicyChecker()
Destroys this object

obool checkPolicy(const string& resource, CertInfoCollector &cinfoCol, AkentiMessage& mesg)
Collects Policy certificates associated with a resources; collects AkentiMessages that state if the certificates were verified, or had some error associated with them; Collects Use Condition certificates associated with the above Policy certificates - and error or "OK" messages associated with them. It gathers all this information in the CertInfoCollector object.

See Also:
PolicyContext
AkentiMessage


This class has no child classes.
Author:
Sushila R. Subramanian
Version:
1.0 04/05/20

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.