This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
pe-bpmn-editor_pkdecrypt [2018/04/23 20:20] admin |
pe-bpmn-editor_pkdecrypt [2020/03/02 15:04] (current) pullonen [PKDecrypt] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== PKDecrypt ====== | ====== PKDecrypt ====== | ||
+ | This is a task for decrypting data that has previously been encrypted with public key encryption. | ||
+ | It takes as an input the ciphertext and the private key and as an output gives the plaintext (assuming that the right key has been used). | ||
===== Required input objects ===== | ===== Required input objects ===== | ||
Line 32: | Line 34: | ||
**Error:** key object must have PKPrivate stereotype | **Error:** key object must have PKPrivate stereotype | ||
- | **Restriction:** input data object selected as key must be an input object "key" from [[pe-bpmn-editor_pkencrypt|PKEncrypt]] task or one of the input objects from [[pe-bpmn-editor_pkcomputation|PKComputation]] task selected as "Encrypted" - it must have the same name as input object "key" from [[pe-bpmn-editor_pkencrypt|PKEncrypt]] task or as one of the input objects of [[pe-bpmn-editor_pkcomputation|PKComputation]] task selected as "Encrypted"\\ | + | **Restriction:** there must exist a correct key corresponding to the ciphertext - input data object selected as key must be an input object "key" from [[pe-bpmn-editor_pkencrypt|PKEncrypt]] task or one of the input objects from [[pe-bpmn-editor_pkcomputation|PKComputation]] task selected as "Encrypted" - it must have the same name as input object "key" from [[pe-bpmn-editor_pkencrypt|PKEncrypt]] task or as one of the input objects of [[pe-bpmn-editor_pkcomputation|PKComputation]] task selected as "Encrypted"\\ |
**Error:** ciphertext is encrypted with wrong encryption method or is not encrypted | **Error:** ciphertext is encrypted with wrong encryption method or is not encrypted | ||
- | **Restriction:** input data object selected as key must be from the same [[pe-bpmn-editor_pkpublic|PKPublic]]-[[pe-bpmn-editor_pkprivate|PKPrivate]] pair (group) as all other input "encryption key" objects from [[pe-bpmn-editor_pkencrypt|PKEncrypt]] and [[pe-bpmn-editor_pkcomputation|PKComputation]] tasks\\ | + | **Restriction:** input data object selected as key must be from the same [[pe-bpmn-editor_pkpublic|PKPublic]]-[[pe-bpmn-editor_pkprivate|PKPrivate]] pair (group) as all other input "encryption key" objects from [[pe-bpmn-editor_pkencrypt|PKEncrypt]] tasks\\ |
**Error:** all keys must be from the same PKPublic-PKPrivate key pair | **Error:** all keys must be from the same PKPublic-PKPrivate key pair |