class CertificateAuthorityInfo |
A CertificateAuthorityInfo holds ca's chain of x509 certs.
![]() | CertificateAuthorityInfo () Default constructor |
![]() | CertificateAuthorityInfo (const Certificate& cert, const vector<Directory>& idDirs = vector<Directory>(), const vector<Directory>& crlDirs = vector<Directory>()) Constructs this object given a ca's certificate specified by cert. |
![]() | CertificateAuthorityInfo (const vector<Certificate>& certs, const vector<Directory>& idDirs = vector<Directory>(), const vector<Directory>& crlDirs = vector<Directory>()) Constructs this object given a ca's chain of certificates specified by certs. |
![]() | ~CertificateAuthorityInfo () Deletes this object |
![]() | getCa () const Returns the distinguished name represented by this CertificateAuthorityInfo object. |
![]() | getChain () const Returns the ca's x509 cert chain. |
![]() | getIdentityDirectories () const Returns the ca's identity directories. |
![]() | getCrlDirectories () const Returns the ca's CRL directories. |
![]() | writeObject (AkentiOutputStream& drain) const Writes this object to the AkentiOutputStream |
![]() | readObject (AkentiInputStream& source) Reads this object from the AkentiInputStream. |
![]() | toXML (DOMElement* caInfo) const Populates the XML element caInfo from this CertificateAuthorityInfo |
![]() | fromXML (const DOMElement* caInfo) Initializes this CertificateAuthorityInfo from the XML element caInfo |
![]() | paramString () const Used for debugging. |
A CertificateAuthorityInfo holds ca's chain of x509 certs. This chain can consist solely of the ca's cert.In addition, although not required, directories where to search for identity certs and crls issued by the ca can be supplied.
CertificateAuthorityInfo {
DistingushedName ca;
vector<Certificate> certs;
vector<Directory> idDirs;
vector<Directory> crlDirs;
}
The format of writeObject is following :
ca certCount cert+ idDirCount idDir* crlDirCount crlDir*
Where cert is the pem encoding of an x509 certificate, + means one or more * means 0 or more
Alphabetic index HTML hierarchy of classes or Java