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

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

o ~CertInfo()
Destroys this object

o CertInfo(bool Used, AkentiCertificate cert, AkentiMessage mesg)
Constructor for dummy certificate cases

See Also:
AkentiCertificate
AkentiMessage

o 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

o 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

ovoid addMessage(AkentiMessage mesg)
Add AkentiMessage associated with collecting or verifying this certificate

See Also:
AkentiMessage

ovoid addCert(AkentiCertificate cert)
Add the certificate for which you are keeping usage status

See Also:
AkentiCertificate

oconst vector<AkentiMessage> & getMessages()
Returns the status messages associated with this certificate

See Also:
AkentiMessage

oAkentiCertificate getCertificate()
Returns the Akenti certificate

See Also:
AkentiCertificate

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

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

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

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

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

obool isLeaf()

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

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

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

ostring getResource()
Get resource

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

ostring getType()
Get type

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

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



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