This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
pe-bpmn-editor_skdecrypt [2018/04/20 05:22] admin created |
pe-bpmn-editor_skdecrypt [2018/04/23 17:55] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== SKDecrypt ====== | ====== SKDecrypt ====== | ||
+ | ===== Required input objects ===== | ||
+ | |||
+ | 2 data objects (secret key, ciphertext) from SKEncrypt or SKComputationtask | ||
+ | |||
+ | ===== Required output objects ===== | ||
+ | |||
+ | 1 data object (data) | ||
+ | |||
+ | ===== Restrictions ===== | ||
+ | |||
+ | **Restriction:** task must have at exactly two input and one output data objects\\ | ||
+ | **Error:** exactly 2 inputs and 1 output are required | ||
+ | |||
+ | **Restriction:** "ciphertext" property must exist under stereotype details object - "ciphertext" must have been selected and saved and "ciphertext" information must not have been deleted from model’s file\\ | ||
+ | **Error:** ciphertext is undefined | ||
+ | |||
+ | **Restriction:** "key" property must exist under stereotype details object - "key" must have been selected and saved and "key" information must not have been deleted from model’s file\\ | ||
+ | **Error:** ciphertext is undefined | ||
+ | |||
+ | **Restriction:** input data object fixed (by its id) in "ciphertext" property must exist also on model\\ | ||
+ | **Error:** ciphertext object is missing | ||
+ | |||
+ | **Restriction:** input data object fixed (by its id) in "key" property must exist also on model\\ | ||
+ | **Error:** key object is missing | ||
+ | |||
+ | **Restriction:** ciphertext and key objects must be different data objects - they must have different ids\\ | ||
+ | **Error:** ciphertext and key must be different objects | ||
+ | |||
+ | **Restriction:** input data object selected as key must be an input object "key" from SKEncrypt task or one of the input objects from SKComputation task selected as "Encrypted" - it must have the same name as input object "key" from SKEncrypt task or as one of the input objects of SKComputation task selected as "Encrypted"\\ | ||
+ | **Error:** ciphertext is encrypted with wrong encryption method or is not encrypted | ||
+ | |||
+ | **Restriction:** input data object selected as key must be with the same name as all input "encryption key" objects from SKEncrypt and SKComputation tasks - there must be only one unique key name concerning particular input ciphertext\\ | ||
+ | **Error:** decryption key must be the same (with the same name) as the encryption key |