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

CipherRequest QML Type

Allows the client to request a cipher session from the system crypto service More...

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

Request

  • List of all members, including inherited members

Properties

  • blockMode : enumeration
  • cipherMode : enumeration
  • cryptoPluginName : string
  • data : ArrayBuffer
  • digestFunction : enumeration
  • encryptionPadding : enumeration
  • generatedData : ArrayBuffer
  • initializationVector : ArrayBuffer
  • key : Key
  • operation : enumeration
  • signaturePadding : enumeration
  • verificationStatus : Sailfish::Crypto::CryptoManager::VerificationStatus

Detailed Description

Property Documentation

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

cipherMode : enumeration

The mode which the client wishes to apply to the cipher session

ConstantValue
InitializeCipher
UpdateCipherAuthentication
UpdateCipher
FinalizeCipher

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 operate on


digestFunction : enumeration

The digest which should be used when signing or verifying the data

ConstantDescription
DigestUnknown 
DigestCustom 
DigestMd5 
DigestSha1 
DigestSha2_224 
DigestSha2_256 
DigestSha256= DigestSha2_256
DigestSha2_384 
DigestSha2_512 
DigestSha512= DigestSha2_512
DigestSha2_512_224 
DigestSha2_512_256 
DigestSha3_224 
DigestSha3_256 
DigestSha3_384 
DigestSha3_512 
DigestShake128 
DigestShake256 
DigestGost_94 
DigestGost_2012_256 
DigestGost_2012_512 
DigestBlake 
DigestBlake2 
DigestBlake2b 
DigestBlake2s 
DigestWhirlpool 
DigestRipeMd 
DigestRipeMd128_256 
DigestRipeMd160 
DigestRipeMd320 
DigestTiger 
DigestTiger128 
DigestTiger160 
DigestTiger192 
DigestTiger2 
DigestTiger2_128 
DigestTiger2_160 
DigestTiger2_192 
DigestRadioGatun 

encryptionPadding : enumeration

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

ConstantValue
EncryptionPaddingUnknown
EncryptionPaddingCustom
EncryptionPaddingNone
EncryptionPaddingPkcs7
EncryptionPaddingRsaOaep
EncryptionPaddingRsaOaepMgf1
EncryptionPaddingRsaPkcs1
EncryptionPaddingAnsiX923

generatedData : ArrayBuffer

Returns the generated data result of the cipher operation.

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


initializationVector : ArrayBuffer

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


key : Key

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


operation : enumeration

The operation which the client wishes to perform with the cipher session

ConstantValue
OperationUnknown
OperationCustom
OperationSign
OperationVerify
OperationEncrypt
OperationDecrypt
OperationCalculateDigest
OperationCalculateMac
OperationDeriveKey

signaturePadding : enumeration

The signature padding mode which should be used when signing or verifying the data

ConstantDescription
SignaturePaddingUnknown 
SignaturePaddingCustom 
SignaturePaddingNone 
SignaturePaddingRsaPss 
SignaturePaddingRsaPkcs1= EncryptionPaddingRsaPkcs1
SignaturePaddingAnsiX923= EncryptionPaddingAnsiX923

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

Returns the result of the verify operation.

Note: this value is only valid if the status of the request is Request.Finished and the cipher session has been finalized and the operation was CryptoManager.OperationVerify

ConstantValue
VerificationStatusUnknown
VerificationSucceeded
VerificationFailed
VerificationSignatureInvalid
VerificationSignatureExpired
VerificationKeyExpired
VerificationKeyRevoked
VerificationKeyInvalid

  • Legal
  • Contact Us
  • Jolla Mobile Ltd © 2025

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn