KDEUI
#include <cassert>
#include <sys/param.h>
#include <QtGui/QApplication>
#include <QtCore/QtCore>
#include <QtCore/QPointer>
#include <QtGui/QWidget>
#include "kwallet.h"
#include <kdebug.h>
#include "qosxkeychain.h"
#include <CoreServices/CoreServices.h>
Go to the source code of this file.
Macros | |
#define | INTERNET_TOO 0 |
Functions | |
static OSStatus | basicWriteItem (const QByteArray *serviceName, const QByteArray &accountName, const QByteArray &value, const SecKeychainRef keychain, SecKeychainItemRef *itemRef=NULL) |
static SecKeychainRef | defaultChain () |
static QString | keyChainName (SecKeychainRef keychain, QString *path=NULL) |
static OSStatus | openKeychain (const QString &n, SecKeychainRef *keychain) |
static QString | OSTStr (FourCharCode etype) |
Macro Definition Documentation
#define INTERNET_TOO 0 |
Define INTERNET_TOO=1 in order to build read-access to the kSecInternetPasswordItemClass items.
Definition at line 37 of file qosxkeychain.cpp.
Function Documentation
|
static |
Definition at line 127 of file qosxkeychain.cpp.
|
static |
Definition at line 60 of file qosxkeychain.cpp.
Return a name for keychain
, and possibly the full path to its file The name will be the equivalent of the basename path .keychain
shell command.
Definition at line 74 of file qosxkeychain.cpp.
|
static |
Open an OS X keychain with name n
. OS X keychains can be created without a full path (say, "kdewallet"), in which case they are stored e.g. as ~/Library/Keychains/kdewallet . However, opening a preexisting keychain like "login" without using the full path seems to fail even if e.g. ~/Library/Keychains/login exists. We try to work around that issue by matching n
against the known keychain names.
Definition at line 91 of file qosxkeychain.cpp.
|
static |
Definition at line 45 of file qosxkeychain.cpp.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.