class AkentiCertificate

AkentiCertificate is a simple reference-count wrapper aroubd AkentiCertificateImpl.

Inheritance:


Public Methods

[more] AkentiCertificate ()
Contructs this object
[more] AkentiCertificate (AkentiCertificateImpl* impl)
Constructs a AkentiCertificate object given a AkentiCertificateImpl object.
[more]virtual ~AkentiCertificate ()
Destructor
[more]bool operator== (const AkentiCertificate& cert) const
Compares two AkentiCertificate for equality
[more]void writeEncoding (const string& encType, ostream& os) const
Writes the certificate to an output stream.
[more]string toLogString () const
Returns a string containing a short Identification of the certificate.
[more]string paramString () const
Returns a string containing the contents of the certificate.
[more]static void writeToStream (const string& encType, ostream& os, const AkentiCertificate& cert)
Writes an AkentiCertificateto an outputstream.
[more]static AkentiCertificate initFromStream (const string& enc, istream& is)
Initialize an AkentiCertificate from an input stream.
[more]static void writeToFile (const string& encType, const string& filename, const AkentiCertificate& cert)
Writes an AkentiCertificateto a file.
[more]static AkentiCertificate initFromFile (const string& encType, const string& filename)
Initialize an AkentiCertificate from a file.
[more]static AkentiCertificate initFromFile (const string& filename)
Initialize an AkentiCertificate from a file.
[more] operator<< (AkentiOutputStream& os, const AkentiCertificate& cert)
[more] operator>> (AkentiInputStream& is, AkentiCertificate& cert)


Documentation

AkentiCertificate is a simple reference-count wrapper aroubd AkentiCertificateImpl.

o AkentiCertificate()
Contructs this object

o AkentiCertificate(AkentiCertificateImpl* impl)
Constructs a AkentiCertificate object given a AkentiCertificateImpl object.

Parameters:
impl - wrapper AkentiCertificateImpl object
See Also:
ref_ptr
AkentiCertificateImpl

ovirtual ~AkentiCertificate()
Destructor

obool operator==(const AkentiCertificate& cert) const
Compares two AkentiCertificate for equality

ovoid writeEncoding(const string& encType, ostream& os) const
Writes the certificate to an output stream.

Note: only the PEM encoding is supported.

ostring toLogString() const
Returns a string containing a short Identification of the certificate. Used for debugging.

ostring paramString() const
Returns a string containing the contents of the certificate. Used for debugging.

ostatic void writeToStream(const string& encType, ostream& os, const AkentiCertificate& cert)
Writes an AkentiCertificateto an outputstream.

Note: only the PEM encoding is supported.

ostatic AkentiCertificate initFromStream(const string& enc, istream& is)
Initialize an AkentiCertificate from an input stream.

Note: only the PEM encoding is supported.

ostatic void writeToFile(const string& encType, const string& filename, const AkentiCertificate& cert)
Writes an AkentiCertificateto a file.

Note: Currently, only the PEM encoding is supported.

ostatic AkentiCertificate initFromFile(const string& encType, const string& filename)
Initialize an AkentiCertificate from a file.

Parameters:
encType - PEM or XML
filename - name/path of the file

ostatic AkentiCertificate initFromFile(const string& filename)
Initialize an AkentiCertificate from a file.

Note this function is less efficient since it has to dtermine the encoding type.

Parameters:
filename - name/path of the file
See Also:
initFromFile(const string&, const string&)

o operator<<(AkentiOutputStream& os, const AkentiCertificate& cert)

o operator>>(AkentiInputStream& is, AkentiCertificate& cert)


Direct child classes:
DummyCertificate
UseCondCertificate
PolicyCertificate
CapabilityCertificate
CacheCertificate
AttributeCertificate
AkentiX509Certificate
Friends:
AkentiOutputStream&
AkentiInputStream&
Author:
Abdelilah Essiari Srilekha Mudumbai
Version:
1.1 00/05/02
See Also:
AkentiCertificateImpl
ref_ptr

Alphabetic index HTML hierarchy of classes or Java



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