Sailfish Crypto
API DocumentationVerifyRequest QML Type
Allows a client request the system crypto service to verify that data was signed with a specific key More...
Import Statement: | import Sailfish.Crypto 1.0 |
Instantiates: | VerifyRequest |
Inherits: |
Properties
- cryptoPluginName : string
- data : ArrayBuffer
- digestFunction : enumeration
- key : Key
- padding : enumeration
- signature : ArrayBuffer
- verificationStatus : Sailfish::Crypto::CryptoManager::VerificationStatus
Detailed Description
Property Documentation
The name of the crypto plugin which the client wishes to perform the verification operation
The digest which was used to generate the signature
Constant | Description |
---|---|
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 |
key : Key |
The key which the client wishes the system service to use to verify the data
The signature padding mode which was used when signing the data
Constant | Description |
---|---|
SignaturePaddingUnknown | |
SignaturePaddingCustom | |
SignaturePaddingNone | |
SignaturePaddingRsaPss | |
SignaturePaddingRsaPkcs1 | = EncryptionPaddingRsaPkcs1 |
SignaturePaddingAnsiX923 | = EncryptionPaddingAnsiX923 |
verificationStatus : Sailfish::Crypto::CryptoManager::VerificationStatus |
Returns verification result
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 |