A CertificateAuthorityInfo holds the distingushed name of a ca and its x509-identity certificate
![]() | CertificateAuthorityInfo () Default constructor |
![]() | CertificateAuthorityInfo (const string& ca, const string& cert) Constructs this object given the string representation of the distinguished name of a ca specified by ca and the pem encoding of the ca's certificate specified by cert |
![]() | CertificateAuthorityInfo (const DistinguishedName& ca, const Certificate& cert) Constructs this object given the distinguished name of a ca specified by ca and the ca's certificate specified by cert |
![]() | CertificateAuthorityInfo (const string& ca, const string& cert, const string& crlDirectory) Constructs this object given the string representation of the distinguished name of a ca specified by ca and the pem encoding of the ca's certificate specified by cert, the string representation of the Certificate Revocation List specified by crl |
![]() | CertificateAuthorityInfo (const DistinguishedName& ca, const Certificate& cert, const Directory& crlDirectory) Constructs this object given the distinguished name of a ca specified by ca, the ca's certificate specified by cert, the Directory representing the Certificate Revocation List of the CA specified by crl |
![]() | ~CertificateAuthorityInfo () Deletes this object |
![]() | operator== (const CertificateAuthorityInfo& cai) const Return true if this object is equal to the the CertificateAuthorityInfo object specified by cai |
![]() | getCA () const Returns the distinguished name represented by this CertificateAuthorityInfo object |
![]() | getCertificate () const Returns the certificate of the ca represented by this CertificateAuthorityInfo object |
![]() | getCRLDirectories () const Returns the CRL of the ca represented by this CertificateAuthorityInfo object |
![]() | writeObject (AkentiOutputStream& drain) const Writes this object to the AkentiOutputStream object specified by drain |
![]() | readObject (AkentiInputStream& source) Reads this object from the AkentiInputStream object specified by source |
![]() | paramString () const Used for debugging |
A CertificateAuthorityInfo holds the distingushed name of a ca and its x509-identity certificate. CertificateAuthorityInfo {
DistinguishedName ca;
Certificate cert;
vector<Directory> crlDirectory;
}
The format of writeObject is following :
ca cert dirCount crlDirectory+
Where cert is the pem encoding of the ca's certificate, and crlDirectory+ are one or more Directories that contain the Certificate Revocation List of the CA.
CertificateAuthorityInfo(const string& ca, const string& cert)
Error if either argument is an empty string
Error if no security provider is installed
SecurityException if encoding is invalid
cert - string pem encoding of the ca's certificate
ParsingException
@sse Error
SecurityException CertificateAuthorityInfo(const DistinguishedName& ca, const Certificate& cert)
cert - Certificate the ca's certificate
Certificate
Error CertificateAuthorityInfo(const string& ca, const string& cert, const string& crlDirectory)
MalformedDirectoryException if the url is invalid
Error if any of the arguments is an empty string
Error if no security provider is installed
SecurityException if encoding is invalid
cert - string pem encoding of the ca's certificate
crlDirectory - string pointer to the ca's CRLs
ParsingException
@sse Error
SecurityException
MalformedDirectoryException CertificateAuthorityInfo(const DistinguishedName& ca, const Certificate& cert, const Directory& crlDirectory)
MalformedDirectoryException if the url is invalid
cert - Certificate the ca's certificate
crl - Certificate Revocation List of the CA
Certificate
Directory
MalformedDirectoryException
Error ~CertificateAuthorityInfo()
bool operator==(const CertificateAuthorityInfo& cai) const
const DistinguishedName& getCA() const
const Certificate& getCertificate() const
const vector
void writeObject(AkentiOutputStream& drain) const
SecurityException if encoding of certificate fails
Error if no security provider is installed
IOException
SecurityException
Error void readObject(AkentiInputStream& source)
ParsingException if the parsing of the distinguished name fails
SecurityException if decoding of the certificate fails
Error if no security provider is installed
IOException
ParsingException
SecurityException
Error 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