Sailfish Crypto
API DocumentationGenerateInitializationVectorRequest Class
(Sailfish::Crypto::GenerateInitializationVectorRequest)Allows the client to request an Initialization Vector from the system crypto service More...
Header: | #include <Crypto/generateinitializationvectorrequest.h> |
Inherits: | Sailfish::Crypto::Request |
Properties
|
|
- 4 properties inherited from Sailfish::Crypto::Request
Public Functions
GenerateInitializationVectorRequest(QObject *parent = Q_NULLPTR) | |
~GenerateInitializationVectorRequest() | |
Sailfish::Crypto::CryptoManager::Algorithm | algorithm() const |
Sailfish::Crypto::CryptoManager::BlockMode | blockMode() const |
QString | cryptoPluginName() const |
QByteArray | generatedInitializationVector() const |
int | keySize() const |
void | setAlgorithm(Sailfish::Crypto::CryptoManager::Algorithm algorithm) |
void | setBlockMode(Sailfish::Crypto::CryptoManager::BlockMode mode) |
void | setCryptoPluginName(const QString &pluginName) |
void | setKeySize(int keySize) |
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 | algorithmChanged() |
void | blockModeChanged() |
void | cryptoPluginNameChanged() |
void | generatedInitializationVectorChanged() |
void | keySizeChanged() |
- 4 signals inherited from Sailfish::Crypto::Request
Detailed Description
Allows the client to request an Initialization Vector from the system crypto service
Property Documentation
algorithm : Sailfish::Crypto::CryptoManager::Algorithm
Access functions:
Sailfish::Crypto::CryptoManager::Algorithm | algorithm() const |
void | setAlgorithm(Sailfish::Crypto::CryptoManager::Algorithm algorithm) |
Notifier signal:
void | algorithmChanged() |
blockMode : Sailfish::Crypto::CryptoManager::BlockMode
Access functions:
Sailfish::Crypto::CryptoManager::BlockMode | blockMode() const |
void | setBlockMode(Sailfish::Crypto::CryptoManager::BlockMode mode) |
Notifier signal:
void | blockModeChanged() |
cryptoPluginName : QString
Access functions:
QString | cryptoPluginName() const |
void | setCryptoPluginName(const QString &pluginName) |
Notifier signal:
void | cryptoPluginNameChanged() |
generatedInitializationVector : const QByteArray
Access functions:
QByteArray | generatedInitializationVector() const |
Notifier signal:
void | generatedInitializationVectorChanged() |
keySize : int
Access functions:
int | keySize() const |
void | setKeySize(int keySize) |
Notifier signal:
void | keySizeChanged() |
Member Function Documentation
GenerateInitializationVectorRequest::GenerateInitializationVectorRequest(QObject *parent = Q_NULLPTR)
Constructs a new GenerateInitializationVectorRequest object with the given parent.
GenerateInitializationVectorRequest::~GenerateInitializationVectorRequest()
Destroys the GenerateInitializationVectorRequest
Sailfish::Crypto::CryptoManager::Algorithm GenerateInitializationVectorRequest::algorithm() const
Returns the algorithm which should be used when generating the IV
Note: Getter function for property algorithm.
See also setAlgorithm().
Sailfish::Crypto::CryptoManager::BlockMode GenerateInitializationVectorRequest::blockMode() const
Returns the block mode which should be used when generating the IV
Note: Getter function for property blockMode.
See also setBlockMode().
QString GenerateInitializationVectorRequest::cryptoPluginName() const
Returns the name of the crypto plugin which the client wishes to perform the generation
Note: Getter function for property cryptoPluginName.
See also setCryptoPluginName().
[virtual]
QVariantMap GenerateInitializationVectorRequest::customParameters() const
See also setCustomParameters().
int GenerateInitializationVectorRequest::keySize() const
Returns the key size which should be used when generating the IV
Note: Getter function for property keySize.
See also setKeySize().
[virtual]
Sailfish::Crypto::CryptoManager *GenerateInitializationVectorRequest::manager() const
See also setManager().
[virtual]
Sailfish::Crypto::Result GenerateInitializationVectorRequest::result() const
void GenerateInitializationVectorRequest::setBlockMode(Sailfish::Crypto::CryptoManager::BlockMode mode)
Sets the block mode which should be used when generating the IV to mode
Note: Setter function for property blockMode.
See also blockMode().
void GenerateInitializationVectorRequest::setCryptoPluginName(const QString &pluginName)
Sets the name of the crypto plugin which the client wishes to perform the generation to pluginName
Note: Setter function for property cryptoPluginName.
See also cryptoPluginName().
[virtual]
void GenerateInitializationVectorRequest::setCustomParameters(const QVariantMap ¶ms)
See also customParameters().
void GenerateInitializationVectorRequest::setKeySize(int keySize)
Sets the key size which should be used when generating the IV to keySize
Note: Setter function for property keySize.
See also keySize().
[virtual]
void GenerateInitializationVectorRequest::setManager(Sailfish::Crypto::CryptoManager *manager)
See also manager().