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

EncryptRequest QML Type

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

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

Request

  • List of all members, including inherited members

Properties

  • authenticationData : ArrayBuffer
  • authenticationTag : ArrayBuffer
  • blockMode : enumeration
  • cipherText : ArrayBuffer
  • cryptoPluginName : string
  • data : ArrayBuffer
  • initializationVector : ArrayBuffer
  • key : Key
  • padding : enumeration

Detailed Description

Property Documentation

authenticationData : ArrayBuffer

The authentication data for the encrypt operation


authenticationTag : ArrayBuffer

Returns the authentication tag for the encryption operation

Note: this value is only valid if an authenticated encryption was performed and the status of the request is Request.Finished


blockMode : enumeration

The block mode which should be used when encrypting the data

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

cipherText : ArrayBuffer

The ciphertext result of the encryption operation.

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


cryptoPluginName : string

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


data : ArrayBuffer

The data which the client wishes the system service to encrypt


initializationVector : ArrayBuffer

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


key : Key

The key which the client wishes the system service to use to encrypt the data


padding : enumeration

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

ConstantValue
EncryptionPaddingUnknown
EncryptionPaddingCustom
EncryptionPaddingNone
EncryptionPaddingPkcs7
EncryptionPaddingRsaOaep
EncryptionPaddingRsaOaepMgf1
EncryptionPaddingRsaPkcs1
EncryptionPaddingAnsiX923

  • Legal
  • Contact Us
  • Jolla Mobile Ltd © 2025

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn