Add in minimal apidocs for assignment operators and copy

constructors.

Also fix the problem where Provider::Context wasn't
showing up properly in the class list.

svn path=/trunk/kdesupport/qca/; revision=670559
This commit is contained in:
Brad Hards 2007-06-02 00:24:30 +00:00
parent ddcfd78c74
commit 19ac4b741d
4 changed files with 86 additions and 2 deletions

View File

@ -55,13 +55,25 @@ public:
/**
Standard Constructor
\param provider the provider library for the random
\param provider the name of the provider library for the random
number generation
*/
Random(const QString &provider = QString());
/**
Copy constructor
\param from the Random object to copy from
*/
Random(const Random &from);
~Random();
/**
Assignment operator
\param from the Random object to copy state from
*/
Random & operator=(const Random &from);
/**
@ -188,9 +200,20 @@ public:
for the subclass (eg "qca-openssl")
*/
explicit Hash(const QString &type, const QString &provider = QString());
/**
Copy constructor
\param from the Hash object to copy from
*/
Hash(const Hash &from);
~Hash();
/**
Assignment operator
\param from the Hash object to copy state from
*/
Hash & operator=(const Hash &from);
/**

View File

@ -1176,8 +1176,20 @@ namespace QCA
*/
CRLEntry(const BigInteger serial, const QDateTime &time, Reason r = Unspecified);
/**
Copy constructor
\param from the CRLEntry to copy from
*/
CRLEntry(const CRLEntry &from);
~CRLEntry();
/**
Standard assignment operator
\param from the CRLEntry to copy from
*/
CRLEntry & operator=(const CRLEntry &from);
/**
@ -1564,8 +1576,20 @@ namespace QCA
*/
CertificateAuthority(const Certificate &cert, const PrivateKey &key, const QString &provider);
/**
Copy constructor
\param from the CertificateAuthority to copy from
*/
CertificateAuthority(const CertificateAuthority &from);
~CertificateAuthority();
/**
Standard assignment operator
\param from the CertificateAuthority to copy from
*/
CertificateAuthority & operator=(const CertificateAuthority &from);
/**

View File

@ -760,7 +760,7 @@ QVariantMap defaultConfig() const
};
/**
\class Context qca_core.h QtCrypto
\class QCA::Provider::Context qca_core.h QtCrypto
Internal context class used for the plugin
@ -841,7 +841,20 @@ public:
~BasicContext();
protected:
/**
Standard constructor
\param parent the parent provider for this
context
\param type the name of the provider context type
*/
BasicContext(Provider *parent, const QString &type);
/**
Copy constructor
\param from the Context to copy from
*/
BasicContext(const BasicContext &from);
private:

View File

@ -491,8 +491,20 @@ public:
*/
PublicKey(const QString &fileName);
/**
Copy constructor
\param from the PublicKey to copy from
*/
PublicKey(const PublicKey &from);
~PublicKey();
/**
Assignment operator
\param from the PublicKey to copy from
*/
PublicKey & operator=(const PublicKey &from);
/**
@ -751,8 +763,20 @@ public:
*/
explicit PrivateKey(const QString &fileName, const SecureArray &passphrase = SecureArray());
/**
Copy constructor
\param from the PrivateKey to copy from
*/
PrivateKey(const PrivateKey &from);
~PrivateKey();
/**
Assignment operator
\param from the PrivateKey to copy from
*/
PrivateKey & operator=(const PrivateKey &from);
/**