Sailfish Crypto
API DocumentationDecryptRequest 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: |
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
The block mode which should be used when decrypting the data
Constant | Value |
---|---|
BlockModeUnknown | |
BlockModeCustom | |
BlockModeEcb | |
BlockModeCbc | |
BlockModePcbc | |
BlockModeCfb1 | |
BlockModeCfb8 | |
BlockModeCfb128 | |
BlockModeOfb | |
BlockModeCtr | |
BlockModeGcm | |
BlockModeLrw | |
BlockModeXex | |
BlockModeXts | |
BlockModeCmc | |
BlockModeEme | |
BlockModeCcm |
The name of the crypto plugin which the client wishes to perform the decryption operation
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
The encryption padding mode which should be used when decrypting the data
Constant | Value |
---|---|
EncryptionPaddingUnknown | |
EncryptionPaddingCustom | |
EncryptionPaddingNone | |
EncryptionPaddingPkcs7 | |
EncryptionPaddingRsaOaep | |
EncryptionPaddingRsaOaepMgf1 | |
EncryptionPaddingRsaPkcs1 | |
EncryptionPaddingAnsiX923 |
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
Constant | Value |
---|---|
VerificationStatusUnknown | |
VerificationSucceeded | |
VerificationFailed | |
VerificationSignatureInvalid | |
VerificationSignatureExpired | |
VerificationKeyExpired | |
VerificationKeyRevoked | |
VerificationKeyInvalid |