• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDEUI

  • sources
  • kde-4.14
  • kdelibs
  • kdeui
  • util
Macros | Functions
qosxkeychain.cpp File Reference
#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>
Include dependency graph for qosxkeychain.cpp:

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 OSStatus basicWriteItem ( const QByteArray *  serviceName,
const QByteArray &  accountName,
const QByteArray &  value,
const SecKeychainRef  keychain,
SecKeychainItemRef *  itemRef = NULL 
)
static

Definition at line 127 of file qosxkeychain.cpp.

static SecKeychainRef defaultChain ( )
static

Definition at line 60 of file qosxkeychain.cpp.

static QString keyChainName ( SecKeychainRef  keychain,
QString *  path = NULL 
)
static

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 OSStatus openKeychain ( const QString &  n,
SecKeychainRef *  keychain 
)
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 QString OSTStr ( FourCharCode  etype)
static

Definition at line 45 of file qosxkeychain.cpp.

This file is part of the KDE documentation.
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.

KDEUI

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal