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 Crypto

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

  • Properties
  • Detailed Description

DecryptRequest QML Type

Allows a client request that the system crypto service decrypt data with a specific key. More...

Import Statement: import Sailfish.Crypto 1.0
Instantiates: DecryptRequest
Inherits:

Request

  • List of all members, including inherited members

Properties

  • authenticationData : ArrayBuffer
  • authenticationTag : ArrayBuffer
  • blockMode : enumeration
  • cryptoPluginName : string
  • data : ArrayBuffer
  • initializationVector : ArrayBuffer
  • key : Key
  • padding : enumeration
  • plaintext : ArrayBuffer
  • verificationStatus : Sailfish::Crypto::CryptoManager::VerificationStatus

Detailed Description

Property Documentation

authenticationData : ArrayBuffer

The authentication data for the decrypt operation


authenticationTag : ArrayBuffer

The authentication tag for the decrypt operation


blockMode : enumeration

The block mode which should be used when decrypting the data

ConstantValue
BlockModeUnknown
BlockModeCustom
BlockModeEcb
BlockModeCbc
BlockModePcbc
BlockModeCfb1
BlockModeCfb8
BlockModeCfb128
BlockModeOfb
BlockModeCtr
BlockModeGcm
BlockModeLrw
BlockModeXex
BlockModeXts
BlockModeCmc
BlockModeEme
BlockModeCcm

cryptoPluginName : string

The name of the crypto plugin which the client wishes to perform the decryption operation


data : ArrayBuffer

The data which the client wishes to decrypt


initializationVector : ArrayBuffer

The initialization vector which the client wishes to use when decrypting the data


key : Key

The key the client wishes to be used to decrypt data


padding : enumeration

The encryption padding mode which should be used when decrypting the data

ConstantValue
EncryptionPaddingUnknown
EncryptionPaddingCustom
EncryptionPaddingNone
EncryptionPaddingPkcs7
EncryptionPaddingRsaOaep
EncryptionPaddingRsaOaepMgf1
EncryptionPaddingRsaPkcs1
EncryptionPaddingAnsiX923

plaintext : ArrayBuffer

Returns the plaintext result of the decryption operation.

Note: this value is only valid if the status of the request is Request.Finished


verificationStatus : Sailfish::Crypto::CryptoManager::VerificationStatus

Returns the verification result of the decryption operation.

Note: this value is only valid if the status of the request is Request.Finished

ConstantValue
VerificationStatusUnknown
VerificationSucceeded
VerificationFailed
VerificationSignatureInvalid
VerificationSignatureExpired
VerificationKeyExpired
VerificationKeyRevoked
VerificationKeyInvalid

  • Legal
  • Contact Us
  • Jolla Mobile Ltd © 2025

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn