class CertificateInfo

CertificateInfo holds (possibly) a certificate and info about it.

Public Methods

[more] CertificateInfo ()
Default constructor
[more]void setUsed (bool used)
Sets if certificate is used
[more]bool getUsed () const
Returns true if certificate is used
[more]bool hasCertificate () const
Returns true if there is a certificate present;
[more]void setCertificate (const AkentiCertificate& cert)
Add a certificate to this Certificate Info
[more]const AkentiCertificate& getCertificate () const
Retrieves a certificate from this Certificate Info
[more]void setLocation (const string& location)
Sets a location
[more]const string& getLocation () const
Returns a location
[more]const vector<AkentiMessage> & getCertificateMessages () const
Returns the vector of certificate status messages
[more]void setCertificateMessages (const vector<AkentiMessage>& certMessages)
Sets the vector of certificate status messages
[more]void toXML (DOMElement* certificateInfoNode) const
Populates the DOMElement from this PolicyResponse
[more]void fromXML (const DOMElement* certificateInfoNode)
Initializes this PolicyResponse from the DOMElement


Documentation

CertificateInfo holds (possibly) a certificate and info about it.

o CertificateInfo()
Default constructor

ovoid setUsed(bool used)
Sets if certificate is used

obool getUsed() const
Returns true if certificate is used

obool hasCertificate() const
Returns true if there is a certificate present;

ovoid setCertificate(const AkentiCertificate& cert)
Add a certificate to this Certificate Info

oconst AkentiCertificate& getCertificate() const
Retrieves a certificate from this Certificate Info

ovoid setLocation(const string& location)
Sets a location

oconst string& getLocation() const
Returns a location

oconst vector<AkentiMessage> & getCertificateMessages() const
Returns the vector of certificate status messages

ovoid setCertificateMessages(const vector<AkentiMessage>& certMessages)
Sets the vector of certificate status messages

ovoid toXML(DOMElement* certificateInfoNode) const
Populates the DOMElement from this PolicyResponse

ovoid fromXML(const DOMElement* certificateInfoNode)
Initializes this PolicyResponse from the DOMElement


This class has no child classes.
See Also:
CheckPolicyResponse

Alphabetic index HTML hierarchy of classes or Java



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