Sailfish Crypto
API DocumentationEncryptRequest 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: |
Properties
- authenticationData : ArrayBuffer
- authenticationTag : ArrayBuffer
- blockMode : enumeration
- cipherText : ArrayBuffer
- cryptoPluginName : string
- data : ArrayBuffer
- initializationVector : ArrayBuffer
- key : Key
- padding : enumeration
Detailed Description
Property Documentation
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
The block mode which should be used when encrypting the data
Constant | Value |
---|---|
BlockModeUnknown | |
BlockModeCustom | |
BlockModeEcb | |
BlockModeCbc | |
BlockModePcbc | |
BlockModeCfb1 | |
BlockModeCfb8 | |
BlockModeCfb128 | |
BlockModeOfb | |
BlockModeCtr | |
BlockModeGcm | |
BlockModeLrw | |
BlockModeXex | |
BlockModeXts | |
BlockModeCmc | |
BlockModeEme | |
BlockModeCcm |
The ciphertext result of the encryption operation.
Note: this value is only valid if the status of the request is Request.Finished
.
The name of the crypto plugin which the client wishes to perform the encryption operation
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
The encryption padding mode which should be used when encrypting the data
Constant | Value |
---|---|
EncryptionPaddingUnknown | |
EncryptionPaddingCustom | |
EncryptionPaddingNone | |
EncryptionPaddingPkcs7 | |
EncryptionPaddingRsaOaep | |
EncryptionPaddingRsaOaepMgf1 | |
EncryptionPaddingRsaPkcs1 | |
EncryptionPaddingAnsiX923 |