CertInfo CertInfo

Class CertInfo contains all the information pertaining to one Policy or Use Condition certificate and whether it was used or not in determining whether to provide access to a user

Public Methods

~CertInfo ()
Destroys this object
CertInfo (bool Used, AkentiCertificate cert, AkentiMessage mesg)
Constructor for dummy certificate cases
CertInfo (bool Used, AkentiCertificate cert, AkentiMessage mesg, string Hash, string Type, string Resource)
Constructor for known Policy and Use Condition certificates
CertInfo (bool Used, AkentiCertificate cert, AkentiMessage mesg, string Hash, string Type, string Resource, bool err)
Constructor for known Policy and Use Condition certificates
void addMessage (AkentiMessage mesg)
Add AkentiMessage associated with collecting or verifying this certificate
void addCert (AkentiCertificate cert)
Add the certificate for which you are keeping usage status
const vector <AkentiMessage> & getMessages ()
Returns the status messages associated with this certificate
AkentiCertificate getCertificate ()
Returns the Akenti certificate
void setUsed (bool usedVal)
Sets the used boolean if this certificate is used in determining if the Policy is valid
bool getUsed ()
Returns whether this Certificate was used or not
void setError (bool err)
Sets the error boolean if there was an error in this certificate
bool getError ()
Returns whether this Certificate had an error or not
void setLeaf (bool leafVal)
Used by PolicyCertificates only - to determine if Use conditions are used
bool isLeaf ()
void setHashCode (string hcode)
Set the hashcode associated with the certificate
string getHashCode ()
Returns Hashcode (used in looking up cert)
void setResource (string res)
Set the resource associated with this cert
string getResource ()
Get resource
void setType (string ctype)
Set the type associated with this cert
string getType ()
Get type
void setLocation (string slocation)
Set the location of the certificate (string containing URL form) Only makes sense for UC Certificates
string getLocation ()
Get location where cert was obtained Only makes sense for UC Certificates

Documentation

Class CertInfo contains all the information pertaining to one Policy or Use Condition certificate and whether it was used or not in determining whether to provide access to a user.
~CertInfo()
Destroys this object

CertInfo(bool Used, AkentiCertificate cert, AkentiMessage mesg)
Constructor for dummy certificate cases
See Also:
AkentiCertificate
AkentiMessage

CertInfo(bool Used, AkentiCertificate cert, AkentiMessage mesg, string Hash, string Type, string Resource)
Constructor for known Policy and Use Condition certificates
See Also:
AkentiCertificate
AkentiMessage

CertInfo(bool Used, AkentiCertificate cert, AkentiMessage mesg, string Hash, string Type, string Resource, bool err)
Constructor for known Policy and Use Condition certificates
See Also:
AkentiCertificate
AkentiMessage

void addMessage(AkentiMessage mesg)
Add AkentiMessage associated with collecting or verifying this certificate
See Also:
AkentiMessage

void addCert(AkentiCertificate cert)
Add the certificate for which you are keeping usage status
See Also:
AkentiCertificate

const vector <AkentiMessage> & getMessages()
Returns the status messages associated with this certificate
See Also:
AkentiMessage

AkentiCertificate getCertificate()
Returns the Akenti certificate
See Also:
AkentiCertificate

void setUsed(bool usedVal)
Sets the used boolean if this certificate is used in determining if the Policy is valid

bool getUsed()
Returns whether this Certificate was used or not

void setError(bool err)
Sets the error boolean if there was an error in this certificate

bool getError()
Returns whether this Certificate had an error or not

void setLeaf(bool leafVal)
Used by PolicyCertificates only - to determine if Use conditions are used

bool isLeaf()

void setHashCode(string hcode)
Set the hashcode associated with the certificate. If its a dummy certificate - set it to "dummy"

string getHashCode()
Returns Hashcode (used in looking up cert)

void setResource(string res)
Set the resource associated with this cert. If dummy or no resource - set it to "NO_RESOURCE".

string getResource()
Get resource

void setType(string ctype)
Set the type associated with this cert. If dummy - set it to "dummy".

string getType()
Get type

void setLocation(string slocation)
Set the location of the certificate (string containing URL form) Only makes sense for UC Certificates

string getLocation()
Get location where cert was obtained Only makes sense for UC Certificates


This class has no child classes.
Author:
Sushila R. Subramanian
Version:
1.0 04/27/04
See Also:
AkentiCertificate
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