Sailfish Crypto
API DocumentationStoredKeyRequest Class
(Sailfish::Crypto::StoredKeyRequest)Allows a client request a securely-stored key from the system crypto service. More...
Header: | #include <Crypto/storedkeyrequest.h> |
Instantiated By: | StoredKeyRequest |
Inherits: | Sailfish::Crypto::Request |
Properties
- identifier : Sailfish::Crypto::Key::Identifier
- keyComponents : Sailfish::Crypto::Key::Components
- storedKey : const Sailfish::Crypto::Key
- 4 properties inherited from Sailfish::Crypto::Request
Public Functions
StoredKeyRequest(QObject *parent = Q_NULLPTR) | |
~StoredKeyRequest() | |
Sailfish::Crypto::Key::Identifier | identifier() const |
Sailfish::Crypto::Key::Components | keyComponents() const |
void | setIdentifier(const Sailfish::Crypto::Key::Identifier &ident) |
void | setKeyComponents(Sailfish::Crypto::Key::Components components) |
Sailfish::Crypto::Key | storedKey() const |
Reimplemented Public Functions
virtual QVariantMap | customParameters() const |
virtual Sailfish::Crypto::CryptoManager * | manager() const |
virtual Sailfish::Crypto::Result | result() const |
virtual void | setCustomParameters(const QVariantMap ¶ms) |
virtual void | setManager(Sailfish::Crypto::CryptoManager *manager) |
virtual void | startRequest() |
virtual Sailfish::Crypto::Request::Status | status() const |
virtual void | waitForFinished() |
- 8 public functions inherited from Sailfish::Crypto::Request
Signals
void | identifierChanged() |
void | keyComponentsChanged() |
void | storedKeyChanged() |
- 4 signals inherited from Sailfish::Crypto::Request
Detailed Description
Allows a client request a securely-stored key from the system crypto service.
Property Documentation
identifier : Sailfish::Crypto::Key::Identifier
Access functions:
Sailfish::Crypto::Key::Identifier | identifier() const |
void | setIdentifier(const Sailfish::Crypto::Key::Identifier &ident) |
Notifier signal:
void | identifierChanged() |
keyComponents : Sailfish::Crypto::Key::Components
Access functions:
Sailfish::Crypto::Key::Components | keyComponents() const |
void | setKeyComponents(Sailfish::Crypto::Key::Components components) |
Notifier signal:
void | keyComponentsChanged() |
storedKey : const Sailfish::Crypto::Key
Access functions:
Sailfish::Crypto::Key | storedKey() const |
Notifier signal:
void | storedKeyChanged() |
Member Function Documentation
StoredKeyRequest::StoredKeyRequest(QObject *parent = Q_NULLPTR)
Constructs a new StoredKeyRequest object with the given parent.
StoredKeyRequest::~StoredKeyRequest()
Destroys the StoredKeyRequest
[virtual]
QVariantMap StoredKeyRequest::customParameters() const
See also setCustomParameters().
Sailfish::Crypto::Key::Identifier StoredKeyRequest::identifier() const
Returns the identifier of the securely-stored key which the client wishes to retrieve
Note: Getter function for property identifier.
See also setIdentifier().
Sailfish::Crypto::Key::Components StoredKeyRequest::keyComponents() const
Returns the flags describing which components of the stored key the client wishes to retrieve
Note: Getter function for property keyComponents.
See also setKeyComponents().
[virtual]
Sailfish::Crypto::CryptoManager *StoredKeyRequest::manager() const
See also setManager().
[virtual]
Sailfish::Crypto::Result StoredKeyRequest::result() const
[virtual]
void StoredKeyRequest::setCustomParameters(const QVariantMap ¶ms)
See also customParameters().
[virtual]
void StoredKeyRequest::setManager(Sailfish::Crypto::CryptoManager *manager)
See also manager().
[virtual]
void StoredKeyRequest::startRequest()
[virtual]
Sailfish::Crypto::Request::Status StoredKeyRequest::status() const
Sailfish::Crypto::Key StoredKeyRequest::storedKey() const
Returns the retrieved key
Note: this value is only valid if the status of the request is Request::Finished.
Note: Getter function for property storedKey.