Update API docs.

svn path=/trunk/kdesupport/qca/; revision=513368
This commit is contained in:
Brad Hards 2006-02-25 08:37:16 +00:00
parent 7e7a6e2eed
commit b21c67fc97
3 changed files with 17 additions and 15 deletions

1
TODO
View File

@ -13,7 +13,6 @@
document all the stuff in qca_securemessage.h document all the stuff in qca_securemessage.h
think about documenting the various providers (qcaprovider.h) think about documenting the various providers (qcaprovider.h)
Change Doxyfile config to capture whole API, and to generate Latex manual. Change Doxyfile config to capture whole API, and to generate Latex manual.
PKey has see-also references to uncallable functions (eg, toRSAPublicKey)
* Considerations * Considerations
api: api:

View File

@ -44,7 +44,11 @@ namespace QCA
Certificate information types Certificate information types
This enumeration provides the values that may appear in a This enumeration provides the values that may appear in a
CertificateInfo key field. CertificateInfo key field. These are from RFC3280
(http://www.ietf.org/rfc/rfc3280.text) except where shown.
\sa Certificate::subjectInfo() and Certificate::issuerInfo()
\sa CRL::issuerInfo()
*/ */
enum CertificateInfoType enum CertificateInfoType
{ {
@ -55,10 +59,10 @@ namespace QCA
Locality, ///< The locality (eg a shire, or part of a state) Locality, ///< The locality (eg a shire, or part of a state)
State, ///< The state within the country State, ///< The state within the country
Country, ///< The country Country, ///< The country
URI, URI, ///< Uniform Resource Identifier
DNS, DNS, ///< DNS name
IPAddress, IPAddress, ///< IP address
XMPP XMPP ///< XMPP address (see http://www.ietf.org/rfc/rfc3920.txt)
}; };
/** /**

View File

@ -328,13 +328,12 @@ namespace QCA
Interpret this key as a PublicKey Interpret this key as a PublicKey
\sa toRSAPublicKey(), toDSAPublicKey() and toDHPublicKey() \sa toRSAPublicKey(), toDSAPublicKey() and toDHPublicKey()
for protected forms of this call.
*/ */
PublicKey toPublicKey() const; PublicKey toPublicKey() const;
/** /**
Interpret this key as a PrivateKey Interpret this key as a PrivateKey
\sa toRSAPrivateKey(), toDSAPrivateKey() and toDHPrivateKey()
*/ */
PrivateKey toPrivateKey() const; PrivateKey toPrivateKey() const;
@ -366,7 +365,7 @@ namespace QCA
key was created as a DSA key, this function cannot turn it into key was created as a DSA key, this function cannot turn it into
an RSA key. an RSA key.
\sa toPublicKey(), toDSAPublcKey() and toDHPublicKey() \sa toPublicKey() for the public version of this method
*/ */
RSAPublicKey toRSAPublicKey() const; RSAPublicKey toRSAPublicKey() const;
@ -377,7 +376,7 @@ namespace QCA
key was created as a DSA key, this function cannot turn it into key was created as a DSA key, this function cannot turn it into
a RSA key. a RSA key.
\sa toPrivateKey(), toDSAPrivateKey() and toDHPrivateKey() \sa toPrivateKey() for the public version of this method
*/ */
RSAPrivateKey toRSAPrivateKey() const; RSAPrivateKey toRSAPrivateKey() const;
@ -388,7 +387,7 @@ namespace QCA
key was created as an RSA key, this function cannot turn it into key was created as an RSA key, this function cannot turn it into
a DSA key. a DSA key.
\sa toPublicKey(), toRSAPublcKey() and toDHPublicKey() \sa toPublicKey() for the public version of this method
*/ */
DSAPublicKey toDSAPublicKey() const; DSAPublicKey toDSAPublicKey() const;
@ -399,7 +398,7 @@ namespace QCA
key was created as an RSA key, this function cannot turn it into key was created as an RSA key, this function cannot turn it into
a DSA key. a DSA key.
\sa toPrivateKey(), toRSAPrivateKey() and toDHPrivateKey() \sa toPrivateKey() for the public version of this method
*/ */
DSAPrivateKey toDSAPrivateKey() const; DSAPrivateKey toDSAPrivateKey() const;
@ -410,7 +409,7 @@ namespace QCA
key was created as a DSA key, this function cannot turn it into key was created as a DSA key, this function cannot turn it into
a DH key. a DH key.
\sa toPublicKey(), toRSAPublcKey() and toDSAPublicKey() \sa toPublicKey() for the public version of this method
*/ */
DHPublicKey toDHPublicKey() const; DHPublicKey toDHPublicKey() const;
@ -421,7 +420,7 @@ namespace QCA
key was created as a DSA key, this function cannot turn it into key was created as a DSA key, this function cannot turn it into
a DH key. a DH key.
\sa toPrivateKey(), toDSAPrivateKey() and toRSAPrivateKey() \sa toPrivateKey() for the public version of this method
*/ */
DHPrivateKey toDHPrivateKey() const; DHPrivateKey toDHPrivateKey() const;
@ -901,7 +900,7 @@ namespace QCA
\param b if true, the key generator will be set to operate in blocking mode, \param b if true, the key generator will be set to operate in blocking mode,
otherwise it will operate in non-blocking mode otherwise it will operate in non-blocking mode
\sa blocking \sa blocking()
*/ */
void setBlocking(bool b); void setBlocking(bool b);