#include <qosxkeychain.h>
Inherited by KWallet::Wallet::WalletPrivate.
|
| OSXKeychain () |
|
| OSXKeychain (const QString &name) |
|
virtual | ~OSXKeychain () |
|
void | close () |
|
QStringList | folderList () |
|
bool | hasItem (const QString &key, OSStatus *errReturn, SecKeychainItemRef *itemRef=NULL) |
|
bool | isDefault () |
|
bool | isOpen () |
|
OSStatus | itemList (QStringList &keyList) |
|
OSStatus | itemType (const QString &key, EntryType *entryType) |
|
OSStatus | lock () |
|
QString & | path () |
|
OSStatus | readItem (const QString &key, QByteArray *value, SecKeychainItemRef *itemRef=NULL) |
|
SecKeychainRef | reference () |
|
OSStatus | removeItem (const QString &key) |
|
OSStatus | renameItem (const QString ¤tKey, const QString &newKey) |
|
OSStatus | unLock () |
|
OSStatus | writeItem (const QString &key, const QByteArray &value, const QString &comment, EntryType *entryType=NULL) |
|
OSStatus | writeItem (const QString &key, const QByteArray &value, EntryType *entryType=NULL) |
|
|
static OSStatus | Destroy (const QString &walletName) |
|
static OSStatus | Destroy (SecKeychainRef *keychain) |
|
static bool | HasItem (const QString &key, const SecKeychainRef keychain, OSStatus *errReturn, SecKeychainItemRef *itemRef) |
|
static bool | IsOpen (const QString &name) |
|
static bool | IsOpen (const SecKeychainRef keychain) |
|
static OSStatus | ItemList (const SecKeychainRef keychain, QStringList &keyList, OSXKeychain *osxKeyChain=NULL) |
|
static OSStatus | ItemType (const QString &key, EntryType *entryType, const SecKeychainRef keychain) |
|
static OSStatus | KeychainList (QStringList &theList) |
|
static OSStatus | Lock (const QString &walletName) |
|
static OSStatus | Lock (const SecKeychainRef keychain) |
|
static QString | Path (const SecKeychainRef keychain) |
|
static OSStatus | ReadItem (const QString &key, QByteArray *value, const SecKeychainRef keychain, SecKeychainItemRef *itemRef=NULL, OSXKeychain *osxKeyChain=NULL) |
|
static OSStatus | RemoveItem (const QString &key, const SecKeychainRef keychain) |
|
static OSStatus | UnLock (const SecKeychainRef keychain) |
|
static OSStatus | WriteItem (const QString &key, const QByteArray &value, const QString &comment, const SecKeychainRef keychain, EntryType *entryType, OSXKeychain *osxKeyChain=NULL) |
|
static OSStatus | WriteItem (const QString &key, const QByteArray &value, const SecKeychainRef keychain, SecKeychainItemRef *itemRef=NULL, EntryType *entryType=NULL, OSXKeychain *osxKeyChain=NULL) |
|
Definition at line 90 of file qosxkeychain.h.
◆ EntryType
Enumerator |
---|
Unknown | |
Password | |
Map | |
Stream | |
Definition at line 98 of file qosxkeychain.h.
◆ OSXKeychain() [1/2]
OSXKeychain::OSXKeychain |
( |
| ) |
|
◆ OSXKeychain() [2/2]
OSXKeychain::OSXKeychain |
( |
const QString & | name | ) |
|
◆ ~OSXKeychain()
OSXKeychain::~OSXKeychain |
( |
| ) |
|
|
virtual |
◆ close()
void OSXKeychain::close |
( |
| ) |
|
◆ Destroy() [1/2]
OSStatus OSXKeychain::Destroy |
( |
const QString & | walletName | ) |
|
|
static |
◆ Destroy() [2/2]
OSStatus OSXKeychain::Destroy |
( |
SecKeychainRef * | keychain | ) |
|
|
static |
◆ folderList()
QStringList OSXKeychain::folderList |
( |
| ) |
|
|
inline |
◆ HasItem()
bool OSXKeychain::HasItem |
( |
const QString & | key, |
|
|
const SecKeychainRef | keychain, |
|
|
OSStatus * | errReturn, |
|
|
SecKeychainItemRef * | itemRef ) |
|
static |
use the keychain search functions to find the first matching item, if any, returning True if found.
use the keychain search functions to find the first matching item, if any,
The OS X error code is returned through errReturn
when not NULL, the item itself through itemRef
. This reference will have to be released with CFRelease() when done with it (when itemRef==NULL
the function does this release itself).
- Returns
- returning True if found. The OS X error code is returned through
errReturn
when not NULL, the item itself through itemRef
. This reference will have to be released with CFRelease() when done with it (when itemRef==NULL
the function does this release itself).
Definition at line 343 of file qosxkeychain.cpp.
◆ hasItem()
bool OSXKeychain::hasItem |
( |
const QString & | key, |
|
|
OSStatus * | errReturn, |
|
|
SecKeychainItemRef * | itemRef = NULL ) |
|
inline |
◆ isDefault()
bool OSXKeychain::isDefault |
( |
| ) |
|
|
inline |
◆ IsOpen() [1/2]
bool OSXKeychain::IsOpen |
( |
const QString & | name | ) |
|
|
static |
◆ IsOpen() [2/2]
bool OSXKeychain::IsOpen |
( |
const SecKeychainRef | keychain | ) |
|
|
static |
◆ isOpen()
bool OSXKeychain::isOpen |
( |
| ) |
|
|
inline |
◆ ItemList()
OSStatus OSXKeychain::ItemList |
( |
const SecKeychainRef | keychain, |
|
|
QStringList & | keyList, |
|
|
OSXKeychain * | osxKeyChain = NULL ) |
|
static |
◆ itemList()
OSStatus OSXKeychain::itemList |
( |
QStringList & | keyList | ) |
|
|
inline |
◆ ItemType()
OSStatus OSXKeychain::ItemType |
( |
const QString & | key, |
|
|
EntryType * | entryType, |
|
|
const SecKeychainRef | keychain ) |
|
static |
◆ itemType()
OSStatus OSXKeychain::itemType |
( |
const QString & | key, |
|
|
EntryType * | entryType ) |
|
inline |
◆ KeychainList()
OSStatus OSXKeychain::KeychainList |
( |
QStringList & | theList | ) |
|
|
static |
◆ Lock() [1/2]
OSStatus OSXKeychain::Lock |
( |
const QString & | walletName | ) |
|
|
static |
◆ Lock() [2/2]
OSStatus OSXKeychain::Lock |
( |
const SecKeychainRef | keychain | ) |
|
|
static |
◆ lock()
OSStatus OSXKeychain::lock |
( |
| ) |
|
|
inline |
◆ Path()
QString OSXKeychain::Path |
( |
const SecKeychainRef | keychain | ) |
|
|
static |
◆ path()
QString & OSXKeychain::path |
( |
| ) |
|
|
inline |
◆ ReadItem()
OSStatus OSXKeychain::ReadItem |
( |
const QString & | key, |
|
|
QByteArray * | value, |
|
|
const SecKeychainRef | keychain, |
|
|
SecKeychainItemRef * | itemRef = NULL, |
|
|
OSXKeychain * | osxKeyChain = NULL ) |
|
static |
◆ readItem()
OSStatus OSXKeychain::readItem |
( |
const QString & | key, |
|
|
QByteArray * | value, |
|
|
SecKeychainItemRef * | itemRef = NULL ) |
|
inline |
◆ reference()
SecKeychainRef OSXKeychain::reference |
( |
| ) |
|
|
inline |
◆ RemoveItem()
OSStatus OSXKeychain::RemoveItem |
( |
const QString & | key, |
|
|
const SecKeychainRef | keychain ) |
|
static |
◆ removeItem()
OSStatus OSXKeychain::removeItem |
( |
const QString & | key | ) |
|
|
inline |
◆ renameItem()
OSStatus OSXKeychain::renameItem |
( |
const QString & | currentKey, |
|
|
const QString & | newKey ) |
◆ UnLock()
OSStatus OSXKeychain::UnLock |
( |
const SecKeychainRef | keychain | ) |
|
|
static |
◆ unLock()
OSStatus OSXKeychain::unLock |
( |
| ) |
|
|
inline |
◆ WriteItem() [1/2]
OSStatus OSXKeychain::WriteItem |
( |
const QString & | key, |
|
|
const QByteArray & | value, |
|
|
const QString & | comment, |
|
|
const SecKeychainRef | keychain, |
|
|
EntryType * | entryType, |
|
|
OSXKeychain * | osxKeyChain = NULL ) |
|
static |
◆ WriteItem() [2/2]
OSStatus OSXKeychain::WriteItem |
( |
const QString & | key, |
|
|
const QByteArray & | value, |
|
|
const SecKeychainRef | keychain, |
|
|
SecKeychainItemRef * | itemRef = NULL, |
|
|
EntryType * | entryType = NULL, |
|
|
OSXKeychain * | osxKeyChain = NULL ) |
|
static |
◆ writeItem() [1/2]
OSStatus OSXKeychain::writeItem |
( |
const QString & | key, |
|
|
const QByteArray & | value, |
|
|
const QString & | comment, |
|
|
EntryType * | entryType = NULL ) |
|
inline |
◆ writeItem() [2/2]
OSStatus OSXKeychain::writeItem |
( |
const QString & | key, |
|
|
const QByteArray & | value, |
|
|
EntryType * | entryType = NULL ) |
|
inline |
◆ currentService
QString OSXKeychain::currentService |
◆ isKDEChain
bool OSXKeychain::isKDEChain |
◆ lastReadService
QString OSXKeychain::lastReadService |
◆ name
QString OSXKeychain::name |
◆ serviceList
QStringList OSXKeychain::serviceList |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by
doxygen 1.11.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.