ostream& operator<< (ostream& os, const Akenti::AkentiCertificate& cert)
<< outputs a base64 encoded AkentiCertificate with PEM tags to
the ostream
-
AkentiCertificate()
-
-
AkentiCertificate(AkentiCertificateImpl* impl)
-
Constructs a AkentiCertificate object given
a AkentiCertificateImpl object
-
~AkentiCertificate()
-
Destructor
-
bool operator==(const AkentiCertificate& cert) const
-
Compares two AkentiCertificates for equality
-
void writeObject(AkentiOutputStream& aos) const
-
param aos AkentiOutputStream that certificate is written to
-
void writeEncoding(const string& type, ostream& os) const
-
Writes the certificate to the stream
-
void readObject(AkentiInputStream& ais)
-
Reads an canonical AkentiCertificate into this certificate
-
void readEncoding(const string& type, istream& is)
-
Reads a certificate from the stream is
-
string paramString() const
-
Returns a string containing the contents of the certificate
-
static AkentiCertificate initFromFile(const string& enc, const string& filename)
-
Initialize an AkentiCertificate from a file
-
static void writeToFile(const string& type, const string& filename, const AkentiCertificate& cert)
-
Documentation
<< outputs a base64 encoded AkentiCertificate with PEM tags to
the ostream
AkentiCertificate()
AkentiCertificate(AkentiCertificateImpl* impl)
-
Constructs a AkentiCertificate object given
a AkentiCertificateImpl object.
- Parameters:
- impl - wrapper AkentiCertificateImpl object
- See Also:
- ref_ptr
AkentiCertificateImpl
~AkentiCertificate()
-
Destructor
bool operator==(const AkentiCertificate& cert) const
-
Compares two AkentiCertificates for equality
void writeObject(AkentiOutputStream& aos) const
-
param aos AkentiOutputStream that certificate is written to
void writeEncoding(const string& type, ostream& os) const
-
Writes the certificate to the stream.
The only type supported is PEM.
- Parameters:
- os - the ostream the certificate get written to
void readObject(AkentiInputStream& ais)
-
Reads an canonical AkentiCertificate into this certificate.
Creates a new CertificateImpl of the correct type to hold the
input certificate and inserts it into this certificate
- Parameters:
- ais - an AkentiInoutStream that holds the plain text canonical
form of an akentiCertificate, starting with the certificate type
void readEncoding(const string& type, istream& is)
-
Reads a certificate from the stream is.
The only type supported is PEM.
string paramString() const
Returns a string containing the contents of the certificate.
Used for debugging.
static AkentiCertificate initFromFile(const string& enc, const string& filename)
Initialize an AkentiCertificate from a file. The file must
contain the base64 encoded canonical form of an Akenti certificate
preceeded by the tag -----BEGIN AKENTI CERTIFICATE-----
and followed
by the tag -----END AKENTI CERTIFICATE-----.
#param enc type of encoding that the file uses - for now only PEM is
recognized.
- Parameters:
- filename - pathname of file containing the certiifcate
static void writeToFile(const string& type, const string& filename, const AkentiCertificate& cert)
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