class AkentiCertificate : public ref_ptr<AkentiCertificateImpl>

AkentiCertificate is a simple reference-count wrapper aroubd AkentiCertificateImpl

Inheritance:


Public Methods

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

Inherited from ref_ptr:

Public Methods

ref_ptr & operator=(const ref_ptr& rhs)
T* operator->() const
operator void*() const
T* get() const

Documentation

AkentiCertificate is a simple reference-count wrapper aroubd AkentiCertificateImpl.
AkentiCertificate()
Contructs this object

AkentiCertificate(AkentiCertificateImpl* impl)
Constructs a AkentiCertificate object given a AkentiCertificateImpl object.
Parameters:
impl - wrapper AkentiCertificateImpl object
See Also:
ref_ptr
AkentiCertificateImpl

virtual ~AkentiCertificate()
Destructor

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

void writeEncoding(const string& encType, ostream& os) const
Writes the certificate to an output stream. Note: only the PEM encoding is supported.

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

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

static void writeToStream(const string& encType, ostream& os, const AkentiCertificate& cert)
Writes an AkentiCertificateto an outputstream. Note: only the PEM encoding is supported.

static AkentiCertificate initFromStream(const string& enc, istream& is)
Initialize an AkentiCertificate from an input stream. Note: only the PEM encoding is supported.

static void writeToFile(const string& encType, const string& filename, const AkentiCertificate& cert)
Writes an AkentiCertificateto a file. Note: Currently, only the PEM encoding is supported.

static 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

static 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&)

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

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


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

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