• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

qca

QCA Namespace Reference

QCA - the Qt Cryptographic Architecture. More...

Namespaces

namespace  Botan
namespace  Botan_types

Classes

class  AbstractLogDevice
 An abstract log device. More...
class  Algorithm
 General superclass for an algorithm. More...
class  Base64
 Base64 encoding / decoding More...
class  BasicContext
 Base class to use for primitive provider contexts. More...
class  BigInteger
 Arbitrary precision integer. More...
class  BufferedComputation
 General superclass for buffered computation algorithms. More...
class  CAContext
 X.509 certificate authority provider. More...
class  CertBase
 X.509 certificate and certificate request provider base. More...
class  CertCollectionContext
 X.509 certificate collection provider. More...
class  CertContext
 X.509 certificate provider. More...
class  CertContextProps
 X.509 certificate or certificate request properties. More...
class  Certificate
 Public Key (X.509) certificate. More...
class  CertificateAuthority
 A Certificate Authority is used to generate Certificates and Certificate Revocation Lists (CRLs). More...
class  CertificateChain
 A chain of related Certificates. More...
class  CertificateCollection
 Bundle of Certificates and CRLs. More...
class  CertificateInfoOrdered
 Ordered certificate properties type. More...
class  CertificateInfoPair
 One entry in a certificate information list. More...
class  CertificateInfoType
 Certificate information type. More...
class  CertificateOptions
 Certificate options More...
class  CertificateRequest
 Certificate Request More...
class  Cipher
 General class for cipher (encryption / decryption) algorithms. More...
class  CipherContext
 Cipher provider. More...
class  CMS
 Cryptographic Message Syntax messaging system. More...
class  Console
 QCA Console system More...
class  ConsolePrompt
 Console prompt handler. More...
class  ConsoleReference
 Manager for a Console. More...
class  ConstraintType
 Certificate constraint. More...
class  CRL
 Certificate Revocation List More...
class  CRLContext
 X.509 certificate revocation list provider. More...
class  CRLContextProps
 X.509 certificate revocation list properties. More...
class  CRLEntry
 Part of a CRL representing a single certificate. More...
class  CSRContext
 X.509 certificate request provider. More...
class  DHContext
 Diffie-Hellman provider. More...
class  DHPrivateKey
 Diffie-Hellman Private Key. More...
class  DHPublicKey
 Diffie-Hellman Public Key. More...
class  DirWatch
 Support class to monitor a directory for activity. More...
class  DLGroup
 A discrete logarithm group. More...
class  DLGroupContext
 Discrete logarithm provider. More...
class  DSAContext
 DSA provider. More...
class  DSAPrivateKey
 Digital Signature Algorithm Private Key. More...
class  DSAPublicKey
 Digital Signature Algorithm Public Key. More...
class  Event
 An asynchronous event. More...
class  EventHandler
 Interface class for password / passphrase / PIN and token handlers. More...
class  FileWatch
 Support class to monitor a file for activity. More...
class  Filter
 General superclass for filtering transformation algorithms. More...
class  Hash
 General class for hashing algorithms. More...
class  HashContext
 Hash provider. More...
class  Hex
 Hexadecimal encoding / decoding. More...
class  InfoContext
 Extended provider information. More...
class  InitializationVector
 Container for initialisation vectors and nonces. More...
class  Initializer
 Convenience method for initialising and cleaning up QCA. More...
class  KDFContext
 Key derivation function provider. More...
class  KeyBundle
 Certificate chain and private key pair. More...
class  KeyDerivationFunction
 General superclass for key derivation algorithms. More...
class  KeyGenerator
 Class for generating asymmetric key pairs. More...
class  KeyLength
 Simple container for acceptable key lengths. More...
class  KeyLoader
 Asynchronous private key loader. More...
class  KeyStore
 General purpose key storage object. More...
class  KeyStoreEntry
 Single entry in a KeyStore. More...
class  KeyStoreEntryContext
 KeyStoreEntry provider. More...
class  KeyStoreEntryWatcher
 Class to monitor the availability of a KeyStoreEntry. More...
class  KeyStoreInfo
 Key store information, outside of a KeyStore object. More...
class  KeyStoreListContext
 KeyStore provider. More...
class  KeyStoreManager
 Access keystores, and monitor keystores for changes. More...
class  Logger
 A simple logging system. More...
class  MACContext
 Message authentication code provider. More...
class  MemoryRegion
 Array of bytes that may be optionally secured. More...
class  MessageAuthenticationCode
 General class for message authentication code (MAC) algorithms. More...
class  MessageContext
 SecureMessage provider. More...
class  OpenPGP
 Pretty Good Privacy messaging system. More...
class  PasswordAsker
 User password / passphrase / PIN handler. More...
class  PBKDF1
 Password based key derivation function version 1. More...
class  PBKDF2
 Password based key derivation function version 2. More...
class  PGPKey
 Pretty Good Privacy key. More...
class  PGPKeyContext
 OpenPGP key provider. More...
class  PGPKeyContextProps
 OpenPGP key properties. More...
class  PKCS12Context
 PKCS#12 provider. More...
class  PKey
 General superclass for public (PublicKey) and private (PrivateKey) keys used with asymmetric encryption techniques. More...
class  PKeyBase
 Public key implementation provider base. More...
class  PKeyContext
 Public key container provider. More...
class  PrivateKey
 Generic private key. More...
class  Provider
 Algorithm provider. More...
class  ProviderManager
class  PublicKey
 Generic public key. More...
class  QPipe
 A FIFO buffer (named pipe) abstraction. More...
class  QPipeDevice
 Unbuffered direct pipe. More...
class  QPipeEnd
 A buffered higher-level pipe end. More...
class  Random
 Source of random numbers. More...
class  RandomContext
 Random provider. More...
class  RSAContext
 RSA provider. More...
class  RSAPrivateKey
 RSA Private Key. More...
class  RSAPublicKey
 RSA Public Key. More...
class  SafeSocketNotifier
class  SafeTimer
class  SASL
 Simple Authentication and Security Layer protocol implementation. More...
class  SASLContext
 SASL provider. More...
class  SecureArray
 Secure array of bytes. More...
class  SecureLayer
 Abstract interface to a security layer. More...
class  SecureMessage
 Class representing a secure message. More...
class  SecureMessageKey
 Key for SecureMessage system. More...
class  SecureMessageSignature
 SecureMessage signature. More...
class  SecureMessageSystem
 Abstract superclass for secure messaging systems. More...
class  SMSContext
 SecureMessageSystem provider. More...
class  SymmetricKey
 Container for keys for symmetric encryption algorithms. More...
class  Synchronizer
 Enable synchronization between two threads. More...
class  SyncThread
 Convenience class to run a thread and interact with it synchronously. More...
class  TextFilter
 Superclass for text based filtering algorithms. More...
class  TLS
 Transport Layer Security / Secure Socket Layer. More...
class  TLSContext
 TLS provider. More...
class  TLSSession
 Session token, used for TLS resuming. More...
class  TLSSessionContext
 TLS "session" provider. More...
class  TokenAsker
 User token handler. More...

Typedefs

typedef QMultiMap
< CertificateInfoType, QString > 
CertificateInfo
typedef QList< ConstraintType > Constraints
typedef quint8 md5_byte_t
typedef quint32 md5_word_t
typedef QList< Provider * > ProviderList
typedef QList< SecureMessageKey > SecureMessageKeyList
typedef QList
< SecureMessageSignature > 
SecureMessageSignatureList

Enumerations

enum  CertificateInfoTypeKnown {
  CommonName, Email, EmailLegacy, Organization,
  OrganizationalUnit, Locality, IncorporationLocality, State,
  IncorporationState, Country, IncorporationCountry, URI,
  DNS, IPAddress, XMPP
}
enum  CertificateRequestFormat { PKCS10, SPKAC }
enum  ConstraintTypeKnown {
  DigitalSignature, NonRepudiation, KeyEncipherment, DataEncipherment,
  KeyAgreement, KeyCertificateSign, CRLSign, EncipherOnly,
  DecipherOnly, ServerAuth, ClientAuth, CodeSigning,
  EmailProtection, IPSecEndSystem, IPSecTunnel, IPSecUser,
  TimeStamping, OCSPSigning
}
enum  ConvertResult { ConvertGood, ErrorDecode, ErrorPassphrase, ErrorFile }
enum  Direction { Encode, Decode }
enum  DLGroupSet {
  DSA_512, DSA_768, DSA_1024, IETF_768,
  IETF_1024, IETF_1536, IETF_2048, IETF_3072,
  IETF_4096, IETF_6144, IETF_8192
}
enum  EncryptionAlgorithm { EME_PKCS1v15, EME_PKCS1_OAEP }
enum  MemoryMode { Practical, Locking, LockingKeepPrivileges }
enum  PBEAlgorithm {
  PBEDefault, PBES2_DES_SHA1, PBES2_TripleDES_SHA1, PBES2_AES128_SHA1,
  PBES2_AES192_SHA1, PBES2_AES256_SHA1
}
enum  ResetMode {
  ResetSession = 0, ResetSessionAndData = 1, ResetAll = 2, ResetSession = 0,
  ResetSessionAndData = 1, ResetAll = 2, ResetSession = 0, ResetSessionAndData = 1,
  ResetAll = 2
}
enum  ResetMode {
  ResetSession = 0, ResetSessionAndData = 1, ResetAll = 2, ResetSession = 0,
  ResetSessionAndData = 1, ResetAll = 2, ResetSession = 0, ResetSessionAndData = 1,
  ResetAll = 2
}
enum  ResetMode {
  ResetSession = 0, ResetSessionAndData = 1, ResetAll = 2, ResetSession = 0,
  ResetSessionAndData = 1, ResetAll = 2, ResetSession = 0, ResetSessionAndData = 1,
  ResetAll = 2
}
enum  SecurityLevel {
  SL_None, SL_Integrity, SL_Export, SL_Baseline,
  SL_High, SL_Highest
}
enum  SignatureAlgorithm {
  SignatureUnknown, EMSA1_SHA1, EMSA3_SHA1, EMSA3_MD5,
  EMSA3_MD2, EMSA3_RIPEMD160, EMSA3_Raw, EMSA3_SHA224,
  EMSA3_SHA256, EMSA3_SHA384, EMSA3_SHA512
}
enum  SignatureFormat { DefaultFormat, IEEE_1363, DERSequence }
enum  UsageMode {
  UsageAny = 0x00, UsageTLSServer = 0x01, UsageTLSClient = 0x02, UsageCodeSigning = 0x04,
  UsageEmailProtection = 0x08, UsageTimeStamping = 0x10, UsageCRLSigning = 0x20
}
enum  ValidateFlags { ValidateAll = 0x00, ValidateRevoked = 0x01, ValidateExpired = 0x02, ValidatePolicy = 0x04 }
enum  Validity {
  ValidityGood, ErrorRejected, ErrorUntrusted, ErrorSignatureFailed,
  ErrorInvalidCA, ErrorInvalidPurpose, ErrorSelfSigned, ErrorRevoked,
  ErrorPathLengthExceeded, ErrorExpired, ErrorExpiredCA, ErrorValidityUnknown = 64
}

Functions

static bool ai_copy (alloc_info *ai, const alloc_info *from)
static void ai_delete (alloc_info *ai)
static bool ai_new (alloc_info *ai, int size, bool sec)
static bool ai_resize (alloc_info *ai, int new_size)
ProviderList allProviders ()
static void appendArray (QByteArray *a, const QByteArray &b)
QCA_EXPORT void appendPluginDiagnosticText (const QString &text)
QCA_EXPORT QString appName ()
bool arrayFromFile (const QString &fileName, QByteArray *a)
bool arrayToFile (const QString &fileName, const QByteArray &content)
QCA_EXPORT QString arrayToHex (const QByteArray &array)
bool ask_passphrase (const QString &fname, void *ptr, SecureArray *answer)
static bool asker_ask (AskerBase *a, const Event &e)
static void asker_cancel (AskerBase *a)
static QByteArray b64decode (const QByteArray &s, bool *ok)
static QByteArray b64encode (const QByteArray &s)
static QString baseCertName (const CertificateInfo &info)
void botan_deinit ()
bool botan_init (int prealloc, bool mmap)
void * botan_secure_alloc (int bytes)
void botan_secure_free (void *p, int bytes)
void botan_throw_abort ()
static bool can_lock ()
static bool cert_match_domain (const QString &certname, const QString &acedomain)
static bool cert_match_ipaddress (const QString &certname, const QByteArray &ipaddress)
QCA_EXPORT void clearPluginDiagnosticText ()
static bool configIsValid (const QVariantMap &config)
static int constraintIdToKnown (const QString &id)
static QString constraintKnownToId (ConstraintTypeKnown k)
static ConstraintType::Section constraintKnownToSection (ConstraintTypeKnown k)
static const char * constraintToString (const ConstraintType &type)
Provider * create_default_provider ()
QCA_EXPORT QStringList defaultFeatures ()
QCA_EXPORT Provider * defaultProvider ()
static int dehex (char c)
QCA_EXPORT void deinit ()
static QString dnLabel (const CertificateInfoType &type)
static Provider::Context * doCreateContext (Provider *p, const QString &type)
QCA_EXPORT QByteArray emsa3Encode (const QString &hashName, const QByteArray &digest, int size=-1)
static int enhex (uchar c)
static void ensure_init ()
static bool entry_deserialize (const QString &in, QString *storeId, QString *storeName, QString *entryId, QString *entryName, QString *entryType, QString *data)
static QString entry_serialize (const QString &storeId, const QString &storeName, const QString &entryId, const QString &entryName, const QString &entryType, const QString &data)
static QString escape_string (const QString &in)
static QString escape_stringlist (const QStringList &in)
static bool features_have (const QStringList &have, const QStringList &want)
static int findLF (const QByteArray &in, int offset)
QCA_EXPORT Provider * findProvider (const QString &name)
static QList< int > findSameName (const QString &name, const QStringList &list)
static QStringList get_cipher_types (Provider *p)
QByteArray get_hash_id (const QString &name)
static QStringList get_hash_types (Provider *p)
static QStringList get_mac_types (Provider *p)
PBEAlgorithm get_pbe_default ()
static bool get_pkcs12_der (const QByteArray &der, const QString &fileName, void *ptr, const SecureArray &passphrase, ConvertResult *result, const QString &provider, QString *name, CertificateChain *chain, PrivateKey *key)
static PrivateKey get_privatekey_der (const SecureArray &der, const QString &fileName, void *ptr, const SecureArray &passphrase, ConvertResult *result, const QString &provider)
static PrivateKey get_privatekey_pem (const QString &pem, const QString &fileName, void *ptr, const SecureArray &passphrase, ConvertResult *result, const QString &provider)
static QStringList get_types (QStringList(*get_func)(Provider *p), const QString &provider)
Provider::Context * getContext (const QString &type, const QString &provider)
Provider::Context * getContext (const QString &type, Provider *p)
template<typename T , typename G , typename I >
T getKey (const QString &provider, const I &in, const SecureArray &passphrase, ConvertResult *result)
template<typename T , typename G >
QList< T > getList (const QString &provider)
QCA_EXPORT QVariant getProperty (const QString &name)
QCA_EXPORT QVariantMap getProviderConfig (const QString &name)
QVariantMap getProviderConfig_internal (Provider *p)
static Provider * getProviderForType (const QString &type, const QString &provider)
static bool global_check ()
static bool global_check_load ()
Random * global_random ()
QMutex * global_random_mutex ()
QCA_EXPORT QString globalRandomProvider ()
static void handler_accept (HandlerBase *h, int id, const SecureArray &password)
static void handler_add (HandlerBase *h, int pos=-1)
static void handler_reject (HandlerBase *h, int id)
static void handler_remove (HandlerBase *h)
QCA_EXPORT bool haveSecureMemory ()
QCA_EXPORT bool haveSecureRandom ()
QCA_EXPORT bool haveSystemStore ()
QCA_EXPORT QByteArray hexToArray (const QString &hexString)
static int idToKnown (const QString &id)
QCA_EXPORT void init (MemoryMode m, int prealloc)
QCA_EXPORT void init ()
static QByteArray insert_linebreaks (const QByteArray &s, int *col, int lfAt)
QCA_EXPORT bool insertProvider (Provider *p, int priority=0)
bool invokeMethodWithVariants (QObject *obj, const QByteArray &method, const QVariantList &args, QVariant *ret, Qt::ConnectionType type)
static QByteArray ipaddr_str2bin (const QString &str)
QCA_EXPORT bool isSupported (const QStringList &features, const QString &provider=QString())
QCA_EXPORT bool isSupported (const char *features, const QString &provider=QString())
static QString knownToId (CertificateInfoTypeKnown k)
static CertificateInfoType::Section knownToSection (CertificateInfoTypeKnown k)
static const char * knownToShortName (CertificateInfoTypeKnown k)
static void logDebug (const QString &str)
QCA_EXPORT Logger * logger ()
QCA_EXPORT QStringList makeFriendlyNames (const QList< Certificate > &list)
static QString makeUniqueName (const QList< int > &items, const QStringList &list, const QList< Certificate > &certs, int i)
static CertificateInfoOrdered mapToOrdered (const CertificateInfo &info)
void md5_append (md5_state_t *pms, const md5_byte_t *data, int nbytes)
void md5_finish (md5_state_t *pms, md5_byte_t digest[16])
void md5_init (md5_state_t *pms)
static void md5_process (md5_state_t *pms, const md5_byte_t *data)
static void mergeList (QStringList *a, const QStringList &b)
QByteArray methodReturnType (const QMetaObject *obj, const QByteArray &method, const QList< QByteArray > argTypes)
static void moveMapValues (CertificateInfo *from, CertificateInfoOrdered *to, const CertificateInfoType &type)
static void negate_binary (char *a, int size)
QCA_EXPORT const SecureArray operator+ (const SecureArray &a, const SecureArray &b)
QTextStream & operator<< (QTextStream &stream, const BigInteger &b)
QCA_EXPORT CertificateInfoOrdered orderedDNOnly (const CertificateInfoOrdered &in)
QCA_EXPORT QString orderedToDNString (const CertificateInfoOrdered &in)
static CertificateInfo orderedToMap (const CertificateInfoOrdered &info)
static int pipe_read (Q_PIPE_ID pipe, char *data, int max, bool *eof)
static int pipe_read_avail (Q_PIPE_ID pipe)
static bool pipe_set_blocking (Q_PIPE_ID pipe, bool b)
static bool pipe_set_inheritable (Q_PIPE_ID pipe, bool b, Q_PIPE_ID *newPipe=0)
static int pipe_write (Q_PIPE_ID pipe, const char *data, int size)
QStringList plugin_priorities (Provider *defaultProvider)
QCA_EXPORT QString pluginDiagnosticText ()
Provider * providerForGroupSet (DLGroupSet set)
Provider * providerForIOType (PKey::Type type, const PKeyContext *prefer=0)
Provider * providerForName (const QString &name)
Provider * providerForPBE (PBEAlgorithm alg, PKey::Type ioType, const PKeyContext *prefer=0)
QCA_EXPORT int providerPriority (const QString &name)
QCA_EXPORT ProviderList providers ()
CertificateCollection qca_get_systemstore (const QString &provider)
bool qca_have_systemstore ()
static QVariantMap readConfig (const QString &name)
static QString readNextPem (QTextStream *ts, bool *isCRL)
void releaseAndDeleteLater (QObject *owner, QObject *obj)
static QByteArray remove_linebreaks (const QByteArray &s)
QCA_EXPORT void saveProviderConfig (const QString &name)
QCA_EXPORT void scanForPlugins ()
QCA_EXPORT void setAppName (const QString &name)
QCA_EXPORT void setGlobalRandomProvider (const QString &provider)
QCA_EXPORT void setProperty (const QString &name, const QVariant &value)
QCA_EXPORT void setProviderConfig (const QString &name, const QVariantMap &config)
QCA_EXPORT void setProviderPriority (const QString &name, int priority)
QStringList skip_plugins (Provider *defaultProvider)
bool stringFromFile (const QString &fileName, QString *s)
bool stringToFile (const QString &fileName, const QString &content)
static QStringList supportedCipherTypes (const QString &provider)
QCA_EXPORT QStringList supportedFeatures ()
static QStringList supportedHashTypes (const QString &provider)
static QStringList supportedMACTypes (const QString &provider)
QCA_EXPORT CertificateCollection systemStore ()
static QVariant trackercall (const char *method, const QVariantList &args=QVariantList())
QString truncate_log (const QString &in, int size)
static bool unescape_config_stringlist (const QString &in, QStringList *_out)
static bool unescape_string (const QString &in, QString *_out)
static bool unescape_stringlist (const QString &in, QStringList *_out)
static QString uniqueConstraintValue (const ConstraintType &type, const QList< int > items, const QList< Certificate > &certs, int i)
static QString uniqueIssuerName (const QList< int > items, const QList< Certificate > &certs, int i)
static QString uniqueSubjectValue (const CertificateInfoType &type, const QList< int > items, const QList< Certificate > &certs, int i)
QCA_EXPORT void unloadAllPlugins ()
bool use_asker_fallback (ConvertResult r)
static bool validVersion (int ver)
static bool writeConfig (const QString &name, const QVariantMap &config, bool systemWide=false)

Variables

static Botan::Allocator * alloc = 0
static char blank [] = ""
static const char ClientAuth_id [] = "1.3.6.1.5.5.7.3.2"
static const char CodeSigning_id [] = "1.3.6.1.5.5.7.3.3"
static const char CommonName_id [] = "2.5.4.3"
static const char Country_id [] = "2.5.4.6"
static const char CRLSign_id [] = "KeyUsage.crlSign"
static const char DataEncipherment_id [] = "KeyUsage.dataEncipherment"
static const char DecipherOnly_id [] = "KeyUsage.decipherOnly"
static unsigned char desWeakKeyTable [64][8]
static const char DigitalSignature_id [] = "KeyUsage.digitalSignature"
static const char DNS_id [] = "GeneralName.dNSName"
static const char Email_id [] = "GeneralName.rfc822Name"
static const char EmailLegacy_id [] = "1.2.840.113549.1.9.1"
static const char EmailProtection_id [] = "1.3.6.1.5.5.7.3.4"
static const char EncipherOnly_id [] = "KeyUsage.encipherOnly"
static EventGlobal * g_event = 0
static KeyStoreManagerGlobal * g_ksm = 0
static ProviderManager * g_pluginman = 0
static Console * g_stdio_console = 0
static Console * g_tty_console = 0
static Global * global = 0
static const char IncorporationCountry_id [] = "1.3.6.1.4.1.311.60.2.1.3"
static const char IncorporationLocality_id [] = "1.3.6.1.4.1.311.60.2.1.1"
static const char IncorporationState_id [] = "1.3.6.1.4.1.311.60.2.1.2"
static const char IPAddress_id [] = "GeneralName.iPAddress"
static const char IPSecEndSystem_id [] = "1.3.6.1.5.5.7.3.5"
static const char IPSecTunnel_id [] = "1.3.6.1.5.5.7.3.6"
static const char IPSecUser_id [] = "1.3.6.1.5.5.7.3.7"
static const char KeyAgreement_id [] = "KeyUsage.keyAgreement"
static const char KeyCertificateSign_id [] = "KeyUsage.keyCertSign"
static const char KeyEncipherment_id [] = "KeyUsage.keyEncipherment"
static const char Locality_id [] = "2.5.4.7"
static const char NonRepudiation_id [] = "KeyUsage.nonRepudiation"
static const char OCSPSigning_id [] = "1.3.6.1.5.5.7.3.9"
static const char Organization_id [] = "2.5.4.10"
static const char OrganizationalUnit_id [] = "2.5.4.11"
static const unsigned char pkcs_md2 []
static const unsigned char pkcs_md5 []
static const unsigned char pkcs_ripemd160 []
static const unsigned char pkcs_sha1 []
static const char ServerAuth_id [] = "1.3.6.1.5.5.7.3.1"
static const char State_id [] = "2.5.4.8"
static const char TimeStamping_id [] = "1.3.6.1.5.5.7.3.8"
static int tracker_id_at = 0
static const char URI_id [] = "GeneralName.uniformResourceIdentifier"
static const char XMPP_id [] = "1.3.6.1.5.5.7.8.5"

Detailed Description

QCA - the Qt Cryptographic Architecture.


Typedef Documentation

typedef QMultiMap<CertificateInfoType, QString> QCA::CertificateInfo

Certificate properties type.

With this container, the information is not necessarily stored in the same sequence as the certificate format itself. Use this container if the order the information is/was stored does not matter for you (this is the case with most applications).

Additionally, the EmailLegacy type should not be used with this container. Use Email instead.

Definition at line 528 of file qca_cert.h.

typedef QList<ConstraintType> QCA::Constraints

Certificate constraints type

Definition at line 583 of file qca_cert.h.

typedef quint8 QCA::md5_byte_t

Definition at line 177 of file qca_default.cpp.

typedef quint32 QCA::md5_word_t

Definition at line 178 of file qca_default.cpp.

typedef QList<Provider*> QCA::ProviderList

Convenience representation for the plugin providers.

You can get a list of providers using the providers() function

See also:
ProviderListIterator
providers()

Definition at line 75 of file qca_core.h.

typedef QList<SecureMessageKey> QCA::SecureMessageKeyList

A list of message keys.

Definition at line 175 of file qca_securemessage.h.

typedef QList<SecureMessageSignature> QCA::SecureMessageSignatureList

A list of signatures.

Definition at line 263 of file qca_securemessage.h.


Enumeration Type Documentation

enum QCA::CertificateInfoTypeKnown

Known types of information stored in certificates.

This enumerator offers a convenient way to work with common types.

Enumerator:
CommonName 

The common name (eg person), id = "2.5.4.3".

Email 

Email address, id = "GeneralName.rfc822Name".

EmailLegacy 

PKCS#9 Email field, id = "1.2.840.113549.1.9.1".

Organization 

An organisation (eg company), id = "2.5.4.10".

OrganizationalUnit 

An part of an organisation (eg a division or branch), id = "2.5.4.11".

Locality 

The locality (eg city, a shire, or part of a state), id = "2.5.4.7".

IncorporationLocality 

The locality of incorporation (EV certificates), id = "1.3.6.1.4.1.311.60.2.1.1".

State 

The state within the country, id = "2.5.4.8".

IncorporationState 

The state of incorporation (EV certificates), id = "1.3.6.1.4.1.311.60.2.1.2".

Country 

The country, id = "2.5.4.6".

IncorporationCountry 

The country of incorporation (EV certificates), id = "1.3.6.1.4.1.311.60.2.1.3".

URI 

Uniform Resource Identifier, id = "GeneralName.uniformResourceIdentifier".

DNS 

DNS name, id = "GeneralName.dNSName".

IPAddress 

IP address, id = "GeneralName.iPAddress".

XMPP 

XMPP address (see http://www.ietf.org/rfc/rfc3920.txt), id = "1.3.6.1.5.5.7.8.5".

Definition at line 66 of file qca_cert.h.

enum QCA::CertificateRequestFormat

Certificate Request Format.

Enumerator:
PKCS10 

standard PKCS#10 format

SPKAC 

Signed Public Key and Challenge (Netscape) format.

Definition at line 55 of file qca_cert.h.

enum QCA::ConstraintTypeKnown

Known types of certificate constraints.

This enumerator offers a convenient way to work with common types.

Enumerator:
DigitalSignature 

Certificate can be used to create digital signatures, id = "KeyUsage.digitalSignature"

NonRepudiation 

Certificate can be used for non-repudiation, id = "KeyUsage.nonRepudiation"

KeyEncipherment 

Certificate can be used for encrypting / decrypting keys, id = "KeyUsage.keyEncipherment"

DataEncipherment 

Certificate can be used for encrypting / decrypting data, id = "KeyUsage.dataEncipherment"

KeyAgreement 

Certificate can be used for key agreement, id = "KeyUsage.keyAgreement"

KeyCertificateSign 

Certificate can be used for key certificate signing, id = "KeyUsage.keyCertSign"

CRLSign 

Certificate can be used to sign Certificate Revocation Lists, id = "KeyUsage.crlSign"

EncipherOnly 

Certificate can only be used for encryption, id = "KeyUsage.encipherOnly"

DecipherOnly 

Certificate can only be used for decryption, id = "KeyUsage.decipherOnly"

ServerAuth 

Certificate can be used for server authentication (e.g. web server), id = "1.3.6.1.5.5.7.3.1". This is an extended usage constraint.

ClientAuth 

Certificate can be used for client authentication (e.g. web browser), id = "1.3.6.1.5.5.7.3.2". This is an extended usage constraint.

CodeSigning 

Certificate can be used to sign code, id = "1.3.6.1.5.5.7.3.3". This is an extended usage constraint.

EmailProtection 

Certificate can be used to sign / encrypt email, id = "1.3.6.1.5.5.7.3.4". This is an extended usage constraint.

IPSecEndSystem 

Certificate can be used to authenticate a endpoint in IPSEC, id = "1.3.6.1.5.5.7.3.5". This is an extended usage constraint.

IPSecTunnel 

Certificate can be used to authenticate a tunnel in IPSEC, id = "1.3.6.1.5.5.7.3.6". This is an extended usage constraint.

IPSecUser 

Certificate can be used to authenticate a user in IPSEC, id = "1.3.6.1.5.5.7.3.7". This is an extended usage constraint.

TimeStamping 

Certificate can be used to create a "time stamp" signature, id = "1.3.6.1.5.5.7.3.8". This is an extended usage constraint.

OCSPSigning 

Certificate can be used to sign an Online Certificate Status Protocol (OCSP) assertion, id = "1.3.6.1.5.5.7.3.9". This is an extended usage constraint.

Definition at line 319 of file qca_cert.h.

enum QCA::ConvertResult

Return value from a format conversion.

Note that if you are checking for any result other than ConvertGood, then you may be introducing a provider specific dependency.

Enumerator:
ConvertGood 

Conversion succeeded, results should be valid.

ErrorDecode 

General failure in the decode stage.

ErrorPassphrase 

Failure because of incorrect passphrase.

ErrorFile 

Failure because of incorrect file.

Definition at line 107 of file qca_publickey.h.

enum QCA::Direction

Direction settings for symmetric algorithms.

For some algorithms, it makes sense to have a "direction", such as Cipher algorithms which can be used to encrypt or decrypt.

Enumerator:
Encode 

Operate in the "forward" direction; for example, encrypting.

Decode 

Operate in the "reverse" direction; for example, decrypting.

Definition at line 115 of file qca_core.h.

enum QCA::DLGroupSet

Well known discrete logarithm group sets.

These sets are derived from three main sources: Java Cryptographic Extensions, RFC2412 and RFC3526.

Enumerator:
DSA_512 

512 bit group, for compatibility with JCE

DSA_768 

768 bit group, for compatibility with JCE

DSA_1024 

1024 bit group, for compatibility with JCE

IETF_768 

Group 1 from RFC 2412, Section E.1.

IETF_1024 

Group 2 from RFC 2412, Section E.2.

IETF_1536 

1536-bit MODP Group ("group 5") from RFC3526 Section 2.

IETF_2048 

2048-bit MODP Group ("group 14") from RFC3526 Section 3.

IETF_3072 

3072-bit MODP Group ("group 15") from RFC3526 Section 4.

IETF_4096 

4096-bit MODP Group ("group 16") from RFC3526 Section 5.

IETF_6144 

6144-bit MODP Group ("group 17") from RFC3526 Section 6.

IETF_8192 

8192-bit MODP Group ("group 18") from RFC3526 Section 7.

Definition at line 123 of file qca_publickey.h.

enum QCA::EncryptionAlgorithm

Encryption algorithms.

Enumerator:
EME_PKCS1v15 

Block type 2 (PKCS#1, Version 1.5).

EME_PKCS1_OAEP 

Optimal asymmetric encryption padding (PKCS#1, Version 2.0).

Definition at line 54 of file qca_publickey.h.

enum QCA::MemoryMode

Mode settings for memory allocation.

QCA can use secure memory, however most operating systems restrict the amount of memory that can be pinned by user applications, to prevent a denial-of-service attack.

QCA supports two approaches to getting memory - the mlock method, which generally requires root (administrator) level privileges, and the mmap method which is not as secure, but which should be able to be used by any process.

See also:
Initializer
Enumerator:
Practical 

mlock and drop root if available, else mmap

Locking 

mlock and drop root

LockingKeepPrivileges 

mlock, retaining root privileges

Definition at line 102 of file qca_core.h.

enum QCA::PBEAlgorithm

Password-based encryption.

Enumerator:
PBEDefault 

Use modern default (same as PBES2_TripleDES_SHA1).

PBES2_DES_SHA1 

PKCS#5 v2.0 DES/CBC,SHA1.

PBES2_TripleDES_SHA1 

PKCS#5 v2.0 TripleDES/CBC,SHA1.

PBES2_AES128_SHA1 

PKCS#5 v2.0 AES-128/CBC,SHA1.

PBES2_AES192_SHA1 

PKCS#5 v2.0 AES-192/CBC,SHA1.

PBES2_AES256_SHA1 

PKCS#5 v2.0 AES-256/CBC,SHA1.

Definition at line 91 of file qca_publickey.h.

enum QCA::ResetMode
Enumerator:
ResetSession 
ResetSessionAndData 
ResetAll 
ResetSession 
ResetSessionAndData 
ResetAll 
ResetSession 
ResetSessionAndData 
ResetAll 

Definition at line 1514 of file qpipe.cpp.

enum QCA::ResetMode
Enumerator:
ResetSession 
ResetSessionAndData 
ResetAll 
ResetSession 
ResetSessionAndData 
ResetAll 
ResetSession 
ResetSessionAndData 
ResetAll 

Definition at line 238 of file qca_securemessage.cpp.

enum QCA::ResetMode
Enumerator:
ResetSession 
ResetSessionAndData 
ResetAll 
ResetSession 
ResetSessionAndData 
ResetAll 
ResetSession 
ResetSessionAndData 
ResetAll 

Definition at line 33 of file qca_securelayer.cpp.

enum QCA::SecurityLevel

Specify the lower-bound for acceptable TLS/SASL security layers.

For TLS, the interpretation of these levels is:

  • Any cipher suite that provides non-authenticated communications (usually anonymous Diffie-Hellman) is SL_Integrity.
  • Any cipher suite that is limited to 40 bits (export-version crippled forms of RC2, RC4 or DES) is SL_Export. Standard DES (56 bits) and some forms of RC4 (64 bits) are also SL_Export.
  • Any normal cipher (AES, Camellia, RC4 or similar) with 128 bits, or Elliptic Curve Ciphers with 283 bits, is SL_Baseline
  • AES or Camellia at least 192 bits, triple-DES and similar ciphers are SL_High. ECC with 409 or more bits is also SL_High.
  • Highest does not have an equivalent strength. It indicates that the provider should use the strongest ciphers available (but not less than SL_High).
Enumerator:
SL_None 

indicates that no security is ok

SL_Integrity 

must at least get integrity protection

SL_Export 

must be export level bits or more

SL_Baseline 

must be 128 bit or more

SL_High 

must be more than 128 bit

SL_Highest 

SL_High or max possible, whichever is greater.

Definition at line 59 of file qca_securelayer.h.

enum QCA::SignatureAlgorithm

Signature algorithm variants.

Enumerator:
SignatureUnknown 

Unknown signing algorithm.

EMSA1_SHA1 

SHA1, with EMSA1 (IEEE1363-2000) encoding (this is the usual DSA algorithm - FIPS186).

EMSA3_SHA1 

SHA1, with EMSA3 (ie PKCS#1 Version 1.5) encoding.

EMSA3_MD5 

MD5, with EMSA3 (ie PKCS#1 Version 1.5) encoding (this is the usual RSA algorithm).

EMSA3_MD2 

MD2, with EMSA3 (ie PKCS#1 Version 1.5) encoding.

EMSA3_RIPEMD160 

RIPEMD160, with EMSA3 (ie PKCS#1 Version 1.5) encoding.

EMSA3_Raw 

EMSA3 without computing a message digest or a DigestInfo encoding (identical to PKCS#11's CKM_RSA_PKCS mechanism).

EMSA3_SHA224 

SHA224, with EMSA3 (ie PKCS#1 Version 1.5) encoding.

EMSA3_SHA256 

SHA256, with EMSA3 (ie PKCS#1 Version 1.5) encoding.

EMSA3_SHA384 

SHA384, with EMSA3 (ie PKCS#1 Version 1.5) encoding.

EMSA3_SHA512 

SHA512, with EMSA3 (ie PKCS#1 Version 1.5) encoding.

Definition at line 63 of file qca_publickey.h.

enum QCA::SignatureFormat

Signature formats (DSA only).

Enumerator:
DefaultFormat 

For DSA, this is the same as IEEE_1363.

IEEE_1363 

40-byte format from IEEE 1363 (Botan/.NET)

DERSequence 

Signature wrapped in DER formatting (OpenSSL/Java).

Definition at line 81 of file qca_publickey.h.

enum QCA::UsageMode

Specify the intended usage of a certificate.

Enumerator:
UsageAny 

Any application, or unspecified.

UsageTLSServer 

server side of a TLS or SSL connection

UsageTLSClient 

client side of a TLS or SSL connection

UsageCodeSigning 

code signing certificate

UsageEmailProtection 

email (S/MIME) certificate

UsageTimeStamping 

time stamping certificate

UsageCRLSigning 

certificate revocation list signing certificate

Definition at line 476 of file qca_cert.h.

enum QCA::ValidateFlags

The conditions to validate for a certificate.

Enumerator:
ValidateAll 
ValidateRevoked 
ValidateExpired 
ValidatePolicy 

Definition at line 509 of file qca_cert.h.

enum QCA::Validity

The validity (or otherwise) of a certificate.

Enumerator:
ValidityGood 

The certificate is valid.

ErrorRejected 

The root CA rejected the certificate purpose.

ErrorUntrusted 

The certificate is not trusted.

ErrorSignatureFailed 

The signature does not match.

ErrorInvalidCA 

The Certificate Authority is invalid.

ErrorInvalidPurpose 

The purpose does not match the intended usage.

ErrorSelfSigned 

The certificate is self-signed, and is not found in the list of trusted certificates.

ErrorRevoked 

The certificate has been revoked.

ErrorPathLengthExceeded 

The path length from the root CA to this certificate is too long.

ErrorExpired 

The certificate has expired, or is not yet valid (e.g. current time is earlier than notBefore time).

ErrorExpiredCA 

The Certificate Authority has expired.

ErrorValidityUnknown 

Validity is unknown.

Definition at line 490 of file qca_cert.h.


Function Documentation

bool QCA::ai_copy ( alloc_info *  ai,
const alloc_info *  from 
) [static]

Definition at line 266 of file qca_tools.cpp.

void QCA::ai_delete ( alloc_info *  ai  )  [static]

Definition at line 373 of file qca_tools.cpp.

bool QCA::ai_new ( alloc_info *  ai,
int  size,
bool  sec 
) [static]

Definition at line 223 of file qca_tools.cpp.

bool QCA::ai_resize ( alloc_info *  ai,
int  new_size 
) [static]

Definition at line 305 of file qca_tools.cpp.

ProviderList QCA::allProviders (  ) 

Definition at line 83 of file qca_publickey.cpp.

static void QCA::appendArray ( QByteArray *  a,
const QByteArray &  b 
) [static]

Definition at line 437 of file qca_textfilter.cpp.

void QCA::appendPluginDiagnosticText ( const QString &  text  ) 

Add plugin diagnostic text.

This function should only be called by providers.

Parameters:
text the diagnostic message to append

Definition at line 449 of file qca_core.cpp.

QString QCA::appName (  ) 

Get the application name that will be used by SASL server mode.

The application name is used by SASL in server mode, as some systems might have different security policies depending on the app. The default application name is 'qca'

Definition at line 712 of file qca_core.cpp.

bool QCA::arrayFromFile ( const QString &  fileName,
QByteArray *  a 
)

Definition at line 63 of file qca_publickey.cpp.

bool QCA::arrayToFile ( const QString &  fileName,
const QByteArray &  content 
)

Definition at line 54 of file qca_publickey.cpp.

QString QCA::arrayToHex ( const QByteArray &  array  ) 

Convert a byte array to printable hexadecimal representation.

This is a convenience function to convert an arbitrary QByteArray to a printable representation.

QByteArray test(10);
test.fill('a');
// 0x61 is 'a' in ASCII
if (QString("61616161616161616161") == QCA::arrayToHex(test) )
{
    printf ("arrayToHex passed\n");
}
Parameters:
array the array to be converted
Returns:
a printable representation

Definition at line 732 of file qca_core.cpp.

bool QCA::ask_passphrase ( const QString &  fname,
void *  ptr,
SecureArray *  answer 
)

Definition at line 72 of file qca_publickey.cpp.

bool QCA::asker_ask ( AskerBase *  a,
const Event &  e 
) [static]

Definition at line 1799 of file qca_core.cpp.

void QCA::asker_cancel ( AskerBase *  a  )  [static]

Definition at line 1831 of file qca_core.cpp.

static QByteArray QCA::b64decode ( const QByteArray &  s,
bool *  ok 
) [static]

Definition at line 290 of file qca_textfilter.cpp.

static QByteArray QCA::b64encode ( const QByteArray &  s  )  [static]

Definition at line 246 of file qca_textfilter.cpp.

static QString QCA::baseCertName ( const CertificateInfo &  info  )  [static]

Definition at line 431 of file qca_cert.cpp.

void QCA::botan_deinit (  ) 

Definition at line 106 of file qca_tools.cpp.

bool QCA::botan_init ( int  prealloc,
bool  mmap 
)

Definition at line 69 of file qca_tools.cpp.

void* QCA::botan_secure_alloc ( int  bytes  ) 

Definition at line 119 of file qca_tools.cpp.

void QCA::botan_secure_free ( void *  p,
int  bytes 
)

Definition at line 132 of file qca_tools.cpp.

void QCA::botan_throw_abort (  ) 

Definition at line 63 of file qca_tools.cpp.

static bool QCA::can_lock (  )  [static]

Definition at line 34 of file qca_tools.cpp.

static bool QCA::cert_match_domain ( const QString &  certname,
const QString &  acedomain 
) [static]

Definition at line 1297 of file qca_cert.cpp.

static bool QCA::cert_match_ipaddress ( const QString &  certname,
const QByteArray &  ipaddress 
) [static]

Definition at line 1377 of file qca_cert.cpp.

void QCA::clearPluginDiagnosticText (  ) 

Clear plugin diagnostic text.

Definition at line 441 of file qca_core.cpp.

static bool QCA::configIsValid ( const QVariantMap &  config  )  [static]

Definition at line 477 of file qca_core.cpp.

static int QCA::constraintIdToKnown ( const QString &  id  )  [static]

Definition at line 330 of file qca_cert.cpp.

static QString QCA::constraintKnownToId ( ConstraintTypeKnown  k  )  [static]

Definition at line 300 of file qca_cert.cpp.

static ConstraintType::Section QCA::constraintKnownToSection ( ConstraintTypeKnown  k  )  [static]

Definition at line 372 of file qca_cert.cpp.

static const char* QCA::constraintToString ( const ConstraintType &  type  )  [static]

Definition at line 509 of file qca_cert.cpp.

Provider * QCA::create_default_provider (  ) 

Definition at line 1304 of file qca_default.cpp.

QStringList QCA::defaultFeatures (  ) 

Generate a list of the built in features.

This differs from supportedFeatures() in that it does not include features provided by plugins.

Returns:
a list containing the names of the features

The following code writes a list of features to standard out

QStringList capabilities;
capabilities = QCA::defaultFeatures();
std::cout << "Default:" << capabilities.join(",") << std::endl;
See also:
isSupported
supportedFeatures()

Definition at line 350 of file qca_core.cpp.

Provider * QCA::defaultProvider (  ) 

Return the default provider.

Definition at line 408 of file qca_core.cpp.

static int QCA::dehex ( char  c  )  [static]

Definition at line 91 of file qca_textfilter.cpp.

void QCA::deinit (  ) 

Clean up routine.

This routine cleans up QCA, including memory allocations This call is not normally required, because it is cleaner to use an Initializer

Definition at line 236 of file qca_core.cpp.

static QString QCA::dnLabel ( const CertificateInfoType &  type  )  [static]

Definition at line 392 of file qca_cert.cpp.

static Provider::Context* QCA::doCreateContext ( Provider *  p,
const QString &  type 
) [inline, static]

Definition at line 785 of file qca_core.cpp.

QByteArray QCA::emsa3Encode ( const QString &  hashName,
const QByteArray &  digest,
int  size = -1 
)

Encode a hash result in EMSA3 (PKCS#1) format.

This is a convenience function for providers that only have access to raw RSA signing (mainly smartcard providers). This is a built-in function of QCA and does not utilize a provider. SHA1, MD5, MD2, and RIPEMD160 are supported.

Parameters:
hashName the hash type used to create the digest
digest the digest to encode in EMSA3 format
size the desired size of the encoding output (-1 for automatic size)

Definition at line 447 of file qca_publickey.cpp.

static int QCA::enhex ( uchar  c  )  [static]

Definition at line 81 of file qca_textfilter.cpp.

static void QCA::ensure_init (  )  [static]

Definition at line 1320 of file qca_keystore.cpp.

static bool QCA::entry_deserialize ( const QString &  in,
QString *  storeId,
QString *  storeName,
QString *  entryId,
QString *  entryName,
QString *  entryType,
QString *  data 
) [static]

Definition at line 886 of file qca_default.cpp.

static QString QCA::entry_serialize ( const QString &  storeId,
const QString &  storeName,
const QString &  entryId,
const QString &  entryName,
const QString &  entryType,
const QString &  data 
) [static]

Definition at line 873 of file qca_default.cpp.

static QString QCA::escape_string ( const QString &  in  )  [static]

Definition at line 794 of file qca_default.cpp.

static QString QCA::escape_stringlist ( const QStringList &  in  )  [static]

Definition at line 842 of file qca_default.cpp.

static bool QCA::features_have ( const QStringList &  have,
const QStringList &  want 
) [static]

Definition at line 173 of file qca_core.cpp.

static int QCA::findLF ( const QByteArray &  in,
int  offset 
) [static]

Definition at line 361 of file qca_textfilter.cpp.

Provider * QCA::findProvider ( const QString &  name  ) 

Return the named provider, or 0 if not found.

Parameters:
name the name of the provider to search for.

Definition at line 398 of file qca_core.cpp.

static QList<int> QCA::findSameName ( const QString &  name,
const QStringList &  list 
) [static]

Definition at line 443 of file qca_cert.cpp.

static QStringList QCA::get_cipher_types ( Provider *  p  )  [static]

Definition at line 60 of file qca_basic.cpp.

QByteArray QCA::get_hash_id ( const QString &  name  ) 

Definition at line 433 of file qca_publickey.cpp.

static QStringList QCA::get_hash_types ( Provider *  p  )  [static]

Definition at line 49 of file qca_basic.cpp.

static QStringList QCA::get_mac_types ( Provider *  p  )  [static]

Definition at line 71 of file qca_basic.cpp.

PBEAlgorithm QCA::get_pbe_default (  ) 

Definition at line 363 of file qca_publickey.cpp.

static bool QCA::get_pkcs12_der ( const QByteArray &  der,
const QString &  fileName,
void *  ptr,
const SecureArray &  passphrase,
ConvertResult *  result,
const QString &  provider,
QString *  name,
CertificateChain *  chain,
PrivateKey *  key 
) [static]

Definition at line 49 of file qca_cert.cpp.

static PrivateKey QCA::get_privatekey_der ( const SecureArray &  der,
const QString &  fileName,
void *  ptr,
const SecureArray &  passphrase,
ConvertResult *  result,
const QString &  provider 
) [static]

Definition at line 368 of file qca_publickey.cpp.

static PrivateKey QCA::get_privatekey_pem ( const QString &  pem,
const QString &  fileName,
void *  ptr,
const SecureArray &  passphrase,
ConvertResult *  result,
const QString &  provider 
) [static]

Definition at line 386 of file qca_publickey.cpp.

static QStringList QCA::get_types ( QStringList(*)(Provider *p)  get_func,
const QString &  provider 
) [static]

Definition at line 82 of file qca_basic.cpp.

Provider::Context * QCA::getContext ( const QString &  type,
const QString &  provider 
)

Definition at line 790 of file qca_core.cpp.

Provider::Context * QCA::getContext ( const QString &  type,
Provider *  p 
)

Definition at line 805 of file qca_core.cpp.

template<typename T , typename G , typename I >
T QCA::getKey ( const QString &  provider,
const I &  in,
const SecureArray &  passphrase,
ConvertResult *  result 
) [inline]

Definition at line 331 of file qca_publickey.cpp.

template<typename T , typename G >
QList<T> QCA::getList ( const QString &  provider  )  [inline]

Definition at line 300 of file qca_publickey.cpp.

QVariant QCA::getProperty ( const QString &  name  ) 

Retrieve a global property.

Parameters:
name the name of the property to look up
See also:
setProperty

Definition at line 467 of file qca_core.cpp.

QVariantMap QCA::getProviderConfig ( const QString &  name  ) 

Retrieve provider configuration.

Parameters:
name the name of the provider to retrieve the configuration of

Definition at line 557 of file qca_core.cpp.

QVariantMap QCA::getProviderConfig_internal ( Provider *  p  ) 
static Provider* QCA::getProviderForType ( const QString &  type,
const QString &  provider 
) [static]

Definition at line 742 of file qca_core.cpp.

static bool QCA::global_check (  )  [static]

Definition at line 250 of file qca_core.cpp.

static bool QCA::global_check_load (  )  [static]

Definition at line 258 of file qca_core.cpp.

Random * QCA::global_random (  ) 

Definition at line 272 of file qca_core.cpp.

QMutex * QCA::global_random_mutex (  ) 

Definition at line 267 of file qca_core.cpp.

QString QCA::globalRandomProvider (  ) 

Return the name of the global random number provider.

Definition at line 646 of file qca_core.cpp.

void QCA::handler_accept ( HandlerBase *  h,
int  id,
const SecureArray &  password 
) [static]

Definition at line 1758 of file qca_core.cpp.

void QCA::handler_add ( HandlerBase *  h,
int  pos = -1 
) [static]

Definition at line 1697 of file qca_core.cpp.

void QCA::handler_reject ( HandlerBase *  h,
int  id 
) [static]

Definition at line 1779 of file qca_core.cpp.

void QCA::handler_remove ( HandlerBase *  h  )  [static]

Definition at line 1721 of file qca_core.cpp.

bool QCA::haveSecureMemory (  ) 

Test if secure storage memory is available.

Returns:
true if secure storage memory is available

Definition at line 279 of file qca_core.cpp.

bool QCA::haveSecureRandom (  ) 

Test if secure random is available.

Secure random is considered available if the global random provider is not the default provider.

Returns:
true if secure random is available

Definition at line 287 of file qca_core.cpp.

bool QCA::haveSystemStore (  ) 

Test if QCA can access the root CA certificates.

If root certificates are available, this function returns true, otherwise it returns false.

See also:
systemStore

Definition at line 664 of file qca_core.cpp.

QByteArray QCA::hexToArray ( const QString &  hexString  ) 

Convert a QString containing a hexadecimal representation of a byte array into a QByteArray.

This is a convenience function to convert a printable representation into a QByteArray - effectively the inverse of QCA::arrayToHex.

QCA::init();
QByteArray test(10);

test.fill('b'); // 0x62 in hexadecimal
test[7] = 0x00; // can handle strings with nulls

if (QCA::hexToArray(QString("62626262626262006262") ) == test )
{
    printf ("hexToArray passed\n");
}
Parameters:
hexString the string containing a printable representation to be converted
Returns:
the equivalent QByteArray

Definition at line 737 of file qca_core.cpp.

static int QCA::idToKnown ( const QString &  id  )  [static]

Definition at line 227 of file qca_cert.cpp.

void QCA::init ( MemoryMode  m,
int  prealloc 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
m the MemoryMode to use
prealloc the amount of memory in kilobytes to allocate for secure storage

Definition at line 183 of file qca_core.cpp.

void QCA::init (  ) 

Initialise QCA.

This call is not normally required, because it is cleaner to use an Initializer.

Definition at line 231 of file qca_core.cpp.

static QByteArray QCA::insert_linebreaks ( const QByteArray &  s,
int *  col,
int  lfAt 
) [static]

Definition at line 371 of file qca_textfilter.cpp.

bool QCA::insertProvider ( Provider *  p,
int  priority = 0 
)

Add a provider to the current list of providers.

This function allows you to add a provider to the current plugin providers at a specified priority. If a provider with the name already exists, this call fails.

Parameters:
p a pointer to a Provider object, which must be set up.
priority the priority level to set the provider to
Returns:
true if the provider is added, and false if the provider is not added (failure)
See also:
setProviderPriority for a description of the provider priority system

Definition at line 368 of file qca_core.cpp.

bool QCA::invokeMethodWithVariants ( QObject *  obj,
const QByteArray &  method,
const QVariantList &  args,
QVariant *  ret,
Qt::ConnectionType  type 
) [related]

Definition at line 50 of file syncthread.cpp.

static QByteArray QCA::ipaddr_str2bin ( const QString &  str  )  [static]

Definition at line 1200 of file qca_cert.cpp.

bool QCA::isSupported ( const QStringList &  features,
const QString &  provider = QString() 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
features a list of features to test for
provider if specified, only check for the capability in that specific provider. If not provided, or provided as an empty string, then check for capabilities in all available providers

Definition at line 299 of file qca_core.cpp.

bool QCA::isSupported ( const char *  features,
const QString &  provider = QString() 
)

Test if a capability (algorithm) is available.

Since capabilities are made available at runtime, you should always check before using a capability the first time, as shown below.

QCA::init();
if(!QCA::isSupported("sha1"))
    printf("SHA1 not supported!\n");
else
{
    QString result = QCA::SHA1::hashToString(myString);
    printf("sha1(\"%s\") = [%s]\n", myString.data(), qPrintable(result));
}
Parameters:
features the name of the capability to test for
provider if specified, only check for the capability in that specific provider. If not provided, or provided as an empty string, then check for capabilities in all available providers
Returns:
true if the capability is available, otherwise false

Note that you can test for a combination of capabilities, using a comma delimited list:

QCA::isSupported("sha1,md5"):

which will return true if all of the capabilities listed are present.

Definition at line 335 of file qca_core.cpp.

static QString QCA::knownToId ( CertificateInfoTypeKnown  k  )  [static]

Definition at line 200 of file qca_cert.cpp.

static CertificateInfoType::Section QCA::knownToSection ( CertificateInfoTypeKnown  k  )  [static]

Definition at line 263 of file qca_cert.cpp.

static const char* QCA::knownToShortName ( CertificateInfoTypeKnown  k  )  [static]

Definition at line 284 of file qca_cert.cpp.

static void QCA::logDebug ( const QString &  str  )  [static]

Definition at line 80 of file qca_plugin.cpp.

Logger * QCA::logger (  ) 

Return a reference to the QCA Logger, which is used for diagnostics and error recording.

The system Logger is automatically created for you on start.

Definition at line 659 of file qca_core.cpp.

QStringList QCA::makeFriendlyNames ( const QList< Certificate > &  list  ) 

Create a list of unique friendly names among a list of certificates.

Parameters:
list the list of certificates for which a friendly name is required.

Definition at line 662 of file qca_cert.cpp.

static QString QCA::makeUniqueName ( const QList< int > &  items,
const QStringList &  list,
const QList< Certificate > &  certs,
int  i 
) [static]

Definition at line 561 of file qca_cert.cpp.

static CertificateInfoOrdered QCA::mapToOrdered ( const CertificateInfo &  info  )  [static]

Definition at line 124 of file qca_cert.cpp.

void QCA::md5_append ( md5_state_t *  pms,
const md5_byte_t *  data,
int  nbytes 
)

Definition at line 462 of file qca_default.cpp.

void QCA::md5_finish ( md5_state_t *  pms,
md5_byte_t  digest[16] 
)

Definition at line 500 of file qca_default.cpp.

void QCA::md5_init ( md5_state_t *  pms  ) 

Definition at line 452 of file qca_default.cpp.

static void QCA::md5_process ( md5_state_t *  pms,
const md5_byte_t *  data 
) [static]

Definition at line 291 of file qca_default.cpp.

static void QCA::mergeList ( QStringList *  a,
const QStringList &  b 
) [static]

Definition at line 40 of file qca_basic.cpp.

QByteArray QCA::methodReturnType ( const QMetaObject *  obj,
const QByteArray &  method,
const QList< QByteArray >  argTypes 
) [related]

Definition at line 30 of file syncthread.cpp.

static void QCA::moveMapValues ( CertificateInfo *  from,
CertificateInfoOrdered *  to,
const CertificateInfoType &  type 
) [static]

Definition at line 113 of file qca_cert.cpp.

static void QCA::negate_binary ( char *  a,
int  size 
) [static]

Definition at line 759 of file qca_tools.cpp.

const SecureArray QCA::operator+ ( const SecureArray &  a,
const SecureArray &  b 
)

Returns an array that is the result of concatenating a and b.

Parameters:
a the string to put at the start of the result
b the string to put at the end of the result

Definition at line 750 of file qca_tools.cpp.

QTextStream& QCA::operator<< ( QTextStream &  stream,
const BigInteger &  b 
)

Definition at line 895 of file qca_tools.cpp.

CertificateInfoOrdered QCA::orderedDNOnly ( const CertificateInfoOrdered &  in  ) 

Return a new CertificateInfoOrdered that only contains the Distinguished Name (DN) types found in the input object.

Parameters:
in the certificate info to extract from

Definition at line 420 of file qca_cert.cpp.

QString QCA::orderedToDNString ( const CertificateInfoOrdered &  in  ) 

Convert to RFC 1779 string format.

Parameters:
in the certificate info to convert

Definition at line 406 of file qca_cert.cpp.

static CertificateInfo QCA::orderedToMap ( const CertificateInfoOrdered &  info  )  [static]

Definition at line 85 of file qca_cert.cpp.

static int QCA::pipe_read ( Q_PIPE_ID  pipe,
char *  data,
int  max,
bool *  eof 
) [static]

Definition at line 195 of file qpipe.cpp.

static int QCA::pipe_read_avail ( Q_PIPE_ID  pipe  )  [static]

Definition at line 175 of file qpipe.cpp.

static bool QCA::pipe_set_blocking ( Q_PIPE_ID  pipe,
bool  b 
) [static]

Definition at line 125 of file qpipe.cpp.

static bool QCA::pipe_set_inheritable ( Q_PIPE_ID  pipe,
bool  b,
Q_PIPE_ID *  newPipe = 0 
) [static]

Definition at line 148 of file qpipe.cpp.

static int QCA::pipe_write ( Q_PIPE_ID  pipe,
const char *  data,
int  size 
) [static]

Definition at line 246 of file qpipe.cpp.

QStringList QCA::plugin_priorities ( Provider *  defaultProvider  ) 
QString QCA::pluginDiagnosticText (  ) 

Retrieve plugin diagnostic text.

Definition at line 433 of file qca_core.cpp.

Provider* QCA::providerForGroupSet ( DLGroupSet  set  ) 

Definition at line 244 of file qca_publickey.cpp.

Provider* QCA::providerForIOType ( PKey::Type  type,
const PKeyContext *  prefer = 0 
)

Definition at line 277 of file qca_publickey.cpp.

Provider * QCA::providerForName ( const QString &  name  ) 

Definition at line 90 of file qca_publickey.cpp.

Provider* QCA::providerForPBE ( PBEAlgorithm  alg,
PKey::Type  ioType,
const PKeyContext *  prefer = 0 
)

Definition at line 255 of file qca_publickey.cpp.

int QCA::providerPriority ( const QString &  name  ) 

Return the priority of a specified provider.

The name of the provider (eg "qca-ossl") is used to look up the current priority associated with that provider. If the provider is not found (or something else went wrong), -1 is returned.

Parameters:
name the name of the provider
Returns:
the current priority level
See also:
setProviderPriority for a description of the provider priority system

Definition at line 388 of file qca_core.cpp.

ProviderList QCA::providers (  ) 

Return a list of the current providers.

The current plugin providers are provided as a list, which you can iterate over using ProviderListIterator.

See also:
ProviderList
ProviderListIterator

Definition at line 358 of file qca_core.cpp.

CertificateCollection QCA::qca_get_systemstore ( const QString &  provider  ) 

Definition at line 42 of file qca_systemstore_win.cpp.

bool QCA::qca_have_systemstore (  ) 

Definition at line 31 of file qca_systemstore_win.cpp.

static QVariantMap QCA::readConfig ( const QString &  name  )  [static]

Definition at line 492 of file qca_core.cpp.

static QString QCA::readNextPem ( QTextStream *  ts,
bool *  isCRL 
) [static]

Definition at line 2277 of file qca_cert.cpp.

void QCA::releaseAndDeleteLater ( QObject *  owner,
QObject *  obj 
)
static QByteArray QCA::remove_linebreaks ( const QByteArray &  s  )  [static]

Definition at line 409 of file qca_textfilter.cpp.

void QCA::saveProviderConfig ( const QString &  name  ) 

Save provider configuration to persistent storage.

Parameters:
name the name of the provider to have its configuration saved

Definition at line 597 of file qca_core.cpp.

void QCA::scanForPlugins (  ) 

Scan for new plugins.

Definition at line 416 of file qca_core.cpp.

void QCA::setAppName ( const QString &  name  ) 

Set the application name that will be used by SASL server mode.

The application name is used by SASL in server mode, as some systems might have different security policies depending on the app. This should be set before using SASL objects, and it cannot be changed later.

Parameters:
name the name string to use for SASL server mode

Definition at line 722 of file qca_core.cpp.

void QCA::setGlobalRandomProvider ( const QString &  provider  ) 

Change the global random number provider.

The Random capabilities of QCA are provided as part of the built in capabilities, however the generator can be changed if required.

Parameters:
provider the name of the provider to use as the global random provider.

Definition at line 652 of file qca_core.cpp.

void QCA::setProperty ( const QString &  name,
const QVariant &  value 
)

Set a global property.

Parameters:
name the name of the property
value the value to set the property to
See also:
getProperty

Definition at line 457 of file qca_core.cpp.

void QCA::setProviderConfig ( const QString &  name,
const QVariantMap &  config 
)

Set provider configuration.

Allowed value types: QString, int, bool

Parameters:
name the name of the provider to set the configuration to
config the configuration

Definition at line 540 of file qca_core.cpp.

void QCA::setProviderPriority ( const QString &  name,
int  priority 
)

Change the priority of a specified provider.

QCA supports a number of providers, and if a number of providers support the same algorithm, it needs to choose between them. You can do this at object instantiation time (by specifying the name of the provider that should be used). Alternatively, you can provide a relative priority level at an application level, using this call.

Priority is used at object instantiation time. The provider is selected according to the following logic:

  • if a particular provider is nominated, and that provider supports the required algorithm, then the nominated provider is used
  • if no provider is nominated, or it doesn't support the required algorithm, then the provider with the lowest priority number will be used, if that provider supports the algorithm.
  • if the provider with the lowest priority number doesn't support the required algorithm, the provider with the next lowest priority number will be tried, and so on through to the provider with the largest priority number
  • if none of the plugin providers support the required algorithm, then the default (built-in) provider will be tried.
Parameters:
name the name of the provider
priority the new priority of the provider. As a special case, if you pass in -1, then this provider gets the same priority as the the last provider that was added or had its priority set using this call.
See also:
providerPriority

Definition at line 378 of file qca_core.cpp.

QStringList QCA::skip_plugins ( Provider *  defaultProvider  ) 
bool QCA::stringFromFile ( const QString &  fileName,
QString *  s 
)

Definition at line 44 of file qca_publickey.cpp.

bool QCA::stringToFile ( const QString &  fileName,
const QString &  content 
)

Definition at line 34 of file qca_publickey.cpp.

static QStringList QCA::supportedCipherTypes ( const QString &  provider  )  [static]

Definition at line 105 of file qca_basic.cpp.

QStringList QCA::supportedFeatures (  ) 

Generate a list of all the supported features in plugins, and in built in capabilities.

Returns:
a list containing the names of the features

The following code writes a list of features to standard out

QStringList capabilities;
capabilities = QCA::supportedFeatures();
std::cout << "Supported:" << capabilities.join(",") << std::endl;
See also:
isSupported(const char *features)
isSupported(const QStringList &features)
defaultFeatures()

Definition at line 340 of file qca_core.cpp.

static QStringList QCA::supportedHashTypes ( const QString &  provider  )  [static]

Definition at line 100 of file qca_basic.cpp.

static QStringList QCA::supportedMACTypes ( const QString &  provider  )  [static]

Definition at line 110 of file qca_basic.cpp.

CertificateCollection QCA::systemStore (  ) 

Get system-wide root Certificate Authority (CA) certificates.

Many operating systems (or distributions, on Linux-type systems) come with some trusted certificates. Typically, these include the root certificates for major Certificate Authorities (for example, Verisign, Comodo) and some additional certificates that are used for system updates. They are provided in different ways for different systems.

This function provides an common way to access the system certificates. There are other ways to access certificates - see the various I/O methods (such as fromDER() and fromPEM()) in the Certificate and CertificateCollection classes.

Note:
Availability of the system certificates depends on how QCA was built. You can test whether the system certificates are available using the haveSystemStore() function.

Definition at line 681 of file qca_core.cpp.

static QVariant QCA::trackercall ( const char *  method,
const QVariantList &  args = QVariantList() 
) [static]

Definition at line 642 of file qca_keystore.cpp.

QString QCA::truncate_log ( const QString &  in,
int  size 
)

Definition at line 51 of file qca_plugin.cpp.

static bool QCA::unescape_config_stringlist ( const QString &  in,
QStringList *  _out 
) [static]

Definition at line 1187 of file qca_default.cpp.

static bool QCA::unescape_string ( const QString &  in,
QString *  _out 
) [static]

Definition at line 813 of file qca_default.cpp.

static bool QCA::unescape_stringlist ( const QString &  in,
QStringList *  _out 
) [static]

Definition at line 850 of file qca_default.cpp.

static QString QCA::uniqueConstraintValue ( const ConstraintType &  type,
const QList< int >  items,
const QList< Certificate > &  certs,
int  i 
) [static]

Definition at line 535 of file qca_cert.cpp.

static QString QCA::uniqueIssuerName ( const QList< int >  items,
const QList< Certificate > &  certs,
int  i 
) [static]

Definition at line 485 of file qca_cert.cpp.

static QString QCA::uniqueSubjectValue ( const CertificateInfoType &  type,
const QList< int >  items,
const QList< Certificate > &  certs,
int  i 
) [static]

Definition at line 454 of file qca_cert.cpp.

void QCA::unloadAllPlugins (  ) 

Unload the current plugins.

Definition at line 425 of file qca_core.cpp.

bool QCA::use_asker_fallback ( ConvertResult  r  ) 

Definition at line 101 of file qca_publickey.cpp.

static bool QCA::validVersion ( int  ver  )  [static]

Definition at line 86 of file qca_plugin.cpp.

static bool QCA::writeConfig ( const QString &  name,
const QVariantMap &  config,
bool  systemWide = false 
) [static]

Definition at line 512 of file qca_core.cpp.


Variable Documentation

Botan::Allocator* QCA::alloc = 0 [static]

Definition at line 61 of file qca_tools.cpp.

char QCA::blank[] = "" [static]

Definition at line 387 of file qca_tools.cpp.

const char QCA::ClientAuth_id[] = "1.3.6.1.5.5.7.3.2" [static]

Definition at line 191 of file qca_cert.cpp.

const char QCA::CodeSigning_id[] = "1.3.6.1.5.5.7.3.3" [static]

Definition at line 192 of file qca_cert.cpp.

const char QCA::CommonName_id[] = "2.5.4.3" [static]

Definition at line 165 of file qca_cert.cpp.

const char QCA::Country_id[] = "2.5.4.6" [static]

Definition at line 174 of file qca_cert.cpp.

const char QCA::CRLSign_id[] = "KeyUsage.crlSign" [static]

Definition at line 187 of file qca_cert.cpp.

const char QCA::DataEncipherment_id[] = "KeyUsage.dataEncipherment" [static]

Definition at line 184 of file qca_cert.cpp.

const char QCA::DecipherOnly_id[] = "KeyUsage.decipherOnly" [static]

Definition at line 189 of file qca_cert.cpp.

unsigned char QCA::desWeakKeyTable[64][8] [static]

Definition at line 1333 of file qca_core.cpp.

const char QCA::DigitalSignature_id[] = "KeyUsage.digitalSignature" [static]

Definition at line 181 of file qca_cert.cpp.

const char QCA::DNS_id[] = "GeneralName.dNSName" [static]

Definition at line 177 of file qca_cert.cpp.

const char QCA::Email_id[] = "GeneralName.rfc822Name" [static]

Definition at line 166 of file qca_cert.cpp.

const char QCA::EmailLegacy_id[] = "1.2.840.113549.1.9.1" [static]

Definition at line 167 of file qca_cert.cpp.

const char QCA::EmailProtection_id[] = "1.3.6.1.5.5.7.3.4" [static]

Definition at line 193 of file qca_cert.cpp.

const char QCA::EncipherOnly_id[] = "KeyUsage.encipherOnly" [static]

Definition at line 188 of file qca_cert.cpp.

EventGlobal* QCA::g_event = 0 [static]

Definition at line 1590 of file qca_core.cpp.

KeyStoreManagerGlobal* QCA::g_ksm = 0 [static]

Definition at line 621 of file qca_keystore.cpp.

ProviderManager* QCA::g_pluginman = 0 [static]

Definition at line 78 of file qca_plugin.cpp.

Console * QCA::g_stdio_console = 0 [static]

Definition at line 425 of file console.cpp.

Console* QCA::g_tty_console = 0 [static]

Definition at line 425 of file console.cpp.

Global* QCA::global = 0 [static]

Definition at line 171 of file qca_core.cpp.

const char QCA::IncorporationCountry_id[] = "1.3.6.1.4.1.311.60.2.1.3" [static]

Definition at line 175 of file qca_cert.cpp.

const char QCA::IncorporationLocality_id[] = "1.3.6.1.4.1.311.60.2.1.1" [static]

Definition at line 171 of file qca_cert.cpp.

const char QCA::IncorporationState_id[] = "1.3.6.1.4.1.311.60.2.1.2" [static]

Definition at line 173 of file qca_cert.cpp.

const char QCA::IPAddress_id[] = "GeneralName.iPAddress" [static]

Definition at line 178 of file qca_cert.cpp.

const char QCA::IPSecEndSystem_id[] = "1.3.6.1.5.5.7.3.5" [static]

Definition at line 194 of file qca_cert.cpp.

const char QCA::IPSecTunnel_id[] = "1.3.6.1.5.5.7.3.6" [static]

Definition at line 195 of file qca_cert.cpp.

const char QCA::IPSecUser_id[] = "1.3.6.1.5.5.7.3.7" [static]

Definition at line 196 of file qca_cert.cpp.

const char QCA::KeyAgreement_id[] = "KeyUsage.keyAgreement" [static]

Definition at line 185 of file qca_cert.cpp.

const char QCA::KeyCertificateSign_id[] = "KeyUsage.keyCertSign" [static]

Definition at line 186 of file qca_cert.cpp.

const char QCA::KeyEncipherment_id[] = "KeyUsage.keyEncipherment" [static]

Definition at line 183 of file qca_cert.cpp.

const char QCA::Locality_id[] = "2.5.4.7" [static]

Definition at line 170 of file qca_cert.cpp.

const char QCA::NonRepudiation_id[] = "KeyUsage.nonRepudiation" [static]

Definition at line 182 of file qca_cert.cpp.

const char QCA::OCSPSigning_id[] = "1.3.6.1.5.5.7.3.9" [static]

Definition at line 198 of file qca_cert.cpp.

const char QCA::Organization_id[] = "2.5.4.10" [static]

Definition at line 168 of file qca_cert.cpp.

const char QCA::OrganizationalUnit_id[] = "2.5.4.11" [static]

Definition at line 169 of file qca_cert.cpp.

const unsigned char QCA::pkcs_md2[] [static]
Initial value:
{
    0x30, 0x20, 0x30, 0x0C, 0x06, 0x08, 0x2A, 0x86, 0x48, 0x86,
    0xF7, 0x0D, 0x02, 0x02, 0x05, 0x00, 0x04, 0x10
}

Definition at line 421 of file qca_publickey.cpp.

const unsigned char QCA::pkcs_md5[] [static]
Initial value:
{
    0x30, 0x20, 0x30, 0x0C, 0x06, 0x08, 0x2A, 0x86, 0x48, 0x86,
    0xF7, 0x0D, 0x02, 0x05, 0x05, 0x00, 0x04, 0x10
}

Definition at line 415 of file qca_publickey.cpp.

const unsigned char QCA::pkcs_ripemd160[] [static]
Initial value:
{
    0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2B, 0x24, 0x03, 0x02,
    0x01, 0x05, 0x00, 0x04, 0x14
}

Definition at line 427 of file qca_publickey.cpp.

const unsigned char QCA::pkcs_sha1[] [static]
Initial value:
{
    0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2B, 0x0E, 0x03, 0x02,
    0x1A, 0x05, 0x00, 0x04, 0x14
}

Definition at line 409 of file qca_publickey.cpp.

const char QCA::ServerAuth_id[] = "1.3.6.1.5.5.7.3.1" [static]

Definition at line 190 of file qca_cert.cpp.

const char QCA::State_id[] = "2.5.4.8" [static]

Definition at line 172 of file qca_cert.cpp.

const char QCA::TimeStamping_id[] = "1.3.6.1.5.5.7.3.8" [static]

Definition at line 197 of file qca_cert.cpp.

int QCA::tracker_id_at = 0 [static]

Definition at line 82 of file qca_keystore.cpp.

const char QCA::URI_id[] = "GeneralName.uniformResourceIdentifier" [static]

Definition at line 176 of file qca_cert.cpp.

const char QCA::XMPP_id[] = "1.3.6.1.5.5.7.8.5" [static]

Definition at line 179 of file qca_cert.cpp.

qca

Skip menu "qca"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal