Sailfish OS
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS
Select Page
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS

Sailfish Secrets

API Documentation
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon

Contents

  • Public Types
  • Public Functions
  • Signals
  • Detailed Description

SecretManager Class

(Sailfish::Secrets::SecretManager)

Allows clients to make requests of the system secrets service. More...

Header: #include <Secrets/secretmanager.h>
  • List of all members, including inherited members

Public Types

enum AccessControlMode { OwnerOnlyMode, SystemAccessControlMode, NoAccessControlMode }
enum CustomLockUnlockSemantic { CustomLockKeepUnlocked, CustomLockDeviceLockRelock, CustomLockTimoutRelock, CustomLockAccessRelock }
enum DeviceLockUnlockSemantic { DeviceLockKeepUnlocked, DeviceLockVerifyLock, DeviceLockRelock }
enum FilterOperator { OperatorOr, OperatorAnd }
enum UserInteractionMode { PreventInteraction, SystemInteraction, ApplicationInteraction }

Public Functions

SecretManager(QObject *parent = Q_NULLPTR)
virtual ~SecretManager()
bool isInitialized() const
void registerInteractionView(Sailfish::Secrets::InteractionView *view)

Signals

void isInitializedChanged()

Detailed Description

Allows clients to make requests of the system secrets service.

The SecretManager class provides an interface to the system secrets service. In order to perform requests, clients should use the Request type specific for their needs:

  • Sailfish::Secrets::PluginInfoRequest to request information about available secrets plugins
  • Sailfish::Secrets::CollectionNamesRequest to request the names of collections of secrets stored by the secrets service
  • Sailfish::Secrets::CreateCollectionRequest to create a collection in which to store secrets
  • Sailfish::Secrets::DeleteCollectionRequest to delete a collection of secrets
  • Sailfish::Secrets::StoreSecretRequest to store a secret either in a collection or standalone
  • Sailfish::Secrets::StoredSecretRequest to retrieve a secret
  • Sailfish::Secrets::FindSecretsRequest to search a collection for secrets matching a filter
  • Sailfish::Secrets::DeleteSecretRequest to delete a secret
  • Sailfish::Secrets::InteractionRequest to request the system mediate a user-interaction flow on behalf of the application

Member Type Documentation

enum SecretManager::AccessControlMode

enum SecretManager::CustomLockUnlockSemantic

enum SecretManager::DeviceLockUnlockSemantic

enum SecretManager::FilterOperator

enum SecretManager::UserInteractionMode

Member Function Documentation

SecretManager::SecretManager(QObject *parent = Q_NULLPTR)

Constructs a new SecretManager instance with the given parent.

[virtual] SecretManager::~SecretManager()

Destroys the SecretManager

bool SecretManager::isInitialized() const

Returns true if the DBus connection has been established

[signal] void SecretManager::isInitializedChanged()

void SecretManager::registerInteractionView(Sailfish::Secrets::InteractionView *view)

  • Legal
  • Contact Us
  • Jollyboys Ltd © 2024

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn