namespace Akenti class CertInfoCollector

The CertInfoCollector contains all the certificates collected in the process of trying to determine if a request can be satisfied

Public Methods

~CertInfoCollector ()
Destroys this object
void addCertInfo (const CertInfo& certinfo)
Adds a CertInfo object (containing a certificate) to the vector
const vector <CertInfo> & getCertInfoVec ()
Returns the vector of CertInfo objects
void setCertInfoVec (const vector <CertInfo>& certInfoVec)
Sets the vector of CertInfo objects
void addMessage (int index, AkentiMessage mesg)
Adds an AkentiMessage to the CertInfo object at index index within the vector
void setUsed (int index, bool usedVal)
Sets the "used" value in the CertInfo object at index index within the vector
void setError (int index, bool err)
Sets the "error" value in the CertInfo object at index index within the vector
CertInfo& getCertInfo (int index)
Returns the CertInfo object at index index within the vector
void reorderCertInfoVec ()
Reorders the vector of CertInfo objects, so that a Policy Certificate and its associated Use Condition certificates are listed in order together
static CertInfoCollector* createCertInfoCollector ()
Returns/creates a new instance of CertInfoCollector
void setStatus (bool errorVal)
Sets the status of the collection so far
bool getStatus ()
Returns the status of the collection so far
int lookup (string hcode, string type)
Return index of CertInfo in the vector if the hashcode exists for a Policy or Use Condition certificate Return -1 if it doesnt exist
int lookup (string hcode, string type, string uid)
Return index of CertInfo in the vector if the hashcode exists for a Policy or Use Condition certificate Return -1 if it doesnt exist

Public


For debugging - not written yet

Documentation

The CertInfoCollector contains all the certificates collected in the process of trying to determine if a request can be satisfied.
~CertInfoCollector()
Destroys this object

void addCertInfo(const CertInfo& certinfo)
Adds a CertInfo object (containing a certificate) to the vector

const vector <CertInfo> & getCertInfoVec()
Returns the vector of CertInfo objects
See Also:
CertInfo

void setCertInfoVec(const vector <CertInfo>& certInfoVec)
Sets the vector of CertInfo objects
See Also:
CertInfo

void addMessage(int index, AkentiMessage mesg)
Adds an AkentiMessage to the CertInfo object at index index within the vector.
See Also:
AkentiMessage

void setUsed(int index, bool usedVal)
Sets the "used" value in the CertInfo object at index index within the vector

void setError(int index, bool err)
Sets the "error" value in the CertInfo object at index index within the vector

CertInfo& getCertInfo(int index)
Returns the CertInfo object at index index within the vector
See Also:
CertInfo

void reorderCertInfoVec()
Reorders the vector of CertInfo objects, so that a Policy Certificate and its associated Use Condition certificates are listed in order together.
See Also:
CertInfo

For debugging - not written yet

static CertInfoCollector* createCertInfoCollector()
Returns/creates a new instance of CertInfoCollector

void setStatus(bool errorVal)
Sets the status of the collection so far

bool getStatus()
Returns the status of the collection so far

int lookup(string hcode, string type)
Return index of CertInfo in the vector if the hashcode exists for a Policy or Use Condition certificate Return -1 if it doesnt exist

int lookup(string hcode, string type, string uid)
Return index of CertInfo in the vector if the hashcode exists for a Policy or Use Condition certificate Return -1 if it doesnt exist


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

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de