Sailfish Crypto
API DocumentationSignRequest QML Type
Allows a client request the system crypto service to sign data with a specific key More...
| Import Statement: | import Sailfish.Crypto 1.0 | 
| Instantiates: | SignRequest | 
| Inherits: | 
Properties
- cryptoPluginName : string
 - data : ArrayBuffer
 - digestFunction : enumeration
 - key : Key
 - padding : enumeration
 - signature : ArrayBuffer
 - signatureLength : int
 
Detailed Description
Property Documentation
The name of the crypto plugin which the client wishes to perform the sign operation
The digest which should be 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 sign the data
The signature padding mode which should be used when signing the data
| Constant | Description | 
|---|---|
SignaturePaddingUnknown | |
SignaturePaddingCustom | |
SignaturePaddingNone | |
SignaturePaddingRsaPss | |
SignaturePaddingRsaPkcs1 | = EncryptionPaddingRsaPkcs1 | 
SignaturePaddingAnsiX923 | = EncryptionPaddingAnsiX923 | 
Returns the signature result of the sign operation.
Note: this value is only valid if the status of the request is Request.Finished
Returns the length of the signature result of the sign operation.
Note: this value is only valid if the status of the request is Request.Finished