stub for makeFriendlyNames. also, use QCA_EXPORT

svn path=/trunk/kdesupport/qca/; revision=652341
This commit is contained in:
Justin Karneges 2007-04-10 18:24:35 +00:00
parent 672d864635
commit 310307e272
3 changed files with 15 additions and 2 deletions

2
TODO
View File

@ -32,13 +32,13 @@
qca_securelayer.h
supportedCipherSuites
canCompress
friendly entry name generator
ability to create PKCS#1 without using direct low level crypto.
random: either find a way to always provide good random numbers,
or add an indicator as to whether the numbers can be trusted.
QSecureArray/QBigInteger -> QCA::SecureArray/QCA::BigInteger ?
code:
cert: orderedToDNString
cert: makeFriendlyNames
keystore async mode
keystore watcher
fix the locking stuff in qca_core

View File

@ -42,6 +42,7 @@ namespace QCA
class CertContext;
class CSRContext;
class CRLContext;
class Certificate;
class CRL;
class CertificateCollection;
class CertificateChain;
@ -256,7 +257,7 @@ namespace QCA
/**
Convert to RFC 1779 string format
*/
QString orderedToDNString(const CertificateInfoOrdered &in);
QCA_EXPORT QString orderedToDNString(const CertificateInfoOrdered &in);
inline QString CertificateInfoOrdered::toString() const
{
@ -268,6 +269,11 @@ namespace QCA
*/
typedef QList<ConstraintType> Constraints;
/**
Create a list of unique friendly names among a list of certificates
*/
QCA_EXPORT QStringList makeFriendlyNames(const QList<Certificate> &list);
/**
\class CertificateOptions qca_cert.h QtCrypto

View File

@ -123,6 +123,13 @@ QString orderedToDNString(const CertificateInfoOrdered &in)
return QString();
}
QStringList makeFriendlyNames(const QList<Certificate> &list)
{
// TODO
Q_UNUSED(list);
return QStringList();
}
//----------------------------------------------------------------------------
// CertificateInfoPair
//----------------------------------------------------------------------------