QCA
            
 
   25#include <QAbstractListModel> 
   26#include <QSharedDataPointer> 
   38class CertItemStorePrivate;
 
   39class CertItemPrivateLoaderPrivate;
 
   51    CertItem(
const CertItem &from);
 
   53    CertItem &operator=(
const CertItem &from);
 
   56    QCA::CertificateChain certificateChain() 
const;
 
   57    bool                  havePrivate() 
const;
 
   58    StorageType           storageType() 
const; 
 
   59    bool                  isUsable() 
const;    
 
   63    QSharedDataPointer<Private> d;
 
   65    friend class CertItemStore;
 
   66    friend class CertItemStorePrivate;
 
   67    friend class CertItemPrivateLoader;
 
   68    friend class CertItemPrivateLoaderPrivate;
 
   87    int      idFromRow(
int row) 
const;
 
   88    int      rowFromId(
int id) 
const;
 
   89    CertItem itemFromId(
int id) 
const;
 
   90    CertItem itemFromRow(
int row) 
const;
 
   92    QList<CertItem> items() 
const;
 
   94    QStringList save() 
const;
 
   95    bool        load(
const QStringList &in);
 
   98    int addFromFile(
const QString &fileName);
 
   99    int addFromKeyStore(
const QCA::KeyStoreEntry &entry);
 
  100    int addUser(
const QCA::CertificateChain &chain);
 
  102    void updateChain(
int id, 
const QCA::CertificateChain &chain);
 
  104    void removeItem(
int id);
 
  106    void setIcon(IconType type, 
const QPixmap &icon);
 
  109    int           rowCount(
const QModelIndex &
parent = QModelIndex()) 
const;
 
  110    QVariant      data(
const QModelIndex &
index, 
int role) 
const;
 
  112    bool          setData(
const QModelIndex &
index, 
const QVariant &value, 
int role);
 
  115    void addSuccess(
int reqId, 
int id);
 
  116    void addFailed(
int reqId);
 
  119    friend class CertItemStorePrivate;
 
  120    CertItemStorePrivate *d;
 
  122    friend class CertItemPrivateLoader;
 
  123    friend class CertItemPrivateLoaderPrivate;
 
  126class CertItemPrivateLoader : 
public QObject 
  130    explicit CertItemPrivateLoader(CertItemStore *store, 
QObject *
parent = 
nullptr);
 
  131    ~CertItemPrivateLoader();
 
  135    QCA::PrivateKey privateKey() 
const;
 
  141    friend class CertItemPrivateLoaderPrivate;
 
  142    CertItemPrivateLoaderPrivate *d;
 
A chain of related Certificates.
 
Single entry in a KeyStore.
 
Q_SCRIPTABLE Q_NOREPLY void start()
 
QCA - the Qt Cryptographic Architecture.
 
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const=0
 
virtual QModelIndex parent(const QModelIndex &index) const const=0
 
QObject * parent() const const
 
  
 
  This file is part of the KDE documentation.
  Documentation copyright © 1996-2025 The KDE developers.
  Generated on Fri May 2 2025 12:01:48 by
  
doxygen 1.13.2 written
  by 
Dimitri van Heesch, © 1997-2006
  
  KDE's Doxygen guidelines are available online.