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
CertificateAuthorityInfo(const Certificate& cert, const vector<Directory>& idDirs = vector<Directory>(), const vector<Directory>& crlDirs = vector<Directory>())
idDirs - vector
crlDirs - vector
Certificate CertificateAuthorityInfo(const vector<Certificate>& certs, const vector<Directory>& idDirs = vector<Directory>(), const vector<Directory>& crlDirs = vector<Directory>())
idDirs - vector
crlDirs - vector ~CertificateAuthorityInfo()
const DistinguishedName& getCa() const
const vector <Certificate> & getChain() const
const vector <Directory> & getIdentityDirectories() const
const vector <Directory> & getCrlDirectories() const
void writeObject(AkentiOutputStream& drain) const
SecurityException if encoding of certificate fails
Error if no security provider is installed
SecurityException
IOException
Error void readObject(AkentiInputStream& source)
SecurityException if decoding of the certificate fails
Error if no security provider is installed
SecurityException
IOException
Error void toXML(DOMElement* caInfo) const
void fromXML(const DOMElement* caInfo)
string paramString() const
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