class CertInfoCollector

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

Public Methods

[more] ~CertInfoCollector ()
Destroys this object
[more]void addCertInfo (const CertInfo& certinfo)
Adds a CertInfo object (containing a certificate) to the vector
[more]const vector<CertInfo> & getCertInfoVec ()
Returns the vector of CertInfo objects
[more]void setCertInfoVec (const vector <CertInfo>& certInfoVec)
Sets the vector of CertInfo objects
[more]void addMessage (int index, AkentiMessage mesg)
Adds an AkentiMessage to the CertInfo object at index index within the vector.
[more]void setUsed (int index, bool usedVal)
Sets the "used" value in the CertInfo object at index index within the vector.
[more]void setError (int index, bool err)
Sets the "error" value in the CertInfo object at index index within the vector.
[more]CertInfo& getCertInfo (int index)
Returns the CertInfo object at index index within the vector
[more]void reorderCertInfoVec ()
Reorders the vector of CertInfo objects, so that a Policy Certificate and its associated Use Condition certificates are listed in order together.
[more]void setStatus (bool errorVal)
Sets the status of the collection so far.
[more]bool getStatus ()
Returns the status of the collection so far
[more]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
[more]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 Members

[more] 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.

o ~CertInfoCollector()
Destroys this object

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

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

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

ovoid addMessage(int index, AkentiMessage mesg)
Adds an AkentiMessage to the CertInfo object at index index within the vector.

See Also:
AkentiMessage

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

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

oCertInfo& getCertInfo(int index)
Returns the CertInfo object at index index within the vector

See Also:
CertInfo

ovoid 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

o For debugging - not written yet
For debugging - not written yet

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

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

oint 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

oint 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 HTML hierarchy of classes or Java



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