From 5baf538edb335f563c684b4b127b3940d6674ad6 Mon Sep 17 00:00:00 2001 From: Shahrzad Date: Tue, 12 Oct 2021 12:18:51 +0200 Subject: [PATCH] removed extra task. Signed-off-by: Shahrzad --- .../resources/TaskDesc/TestCryslTask.json | 30 ------ .../src/main/resources/Tasks/tasks.json | 94 ++++++++---------- .../main/resources/images/TestCryslTask.png | Bin 3398 -> 0 bytes 3 files changed, 41 insertions(+), 83 deletions(-) delete mode 100644 plugins/de.cognicrypt.codegenerator/src/main/resources/TaskDesc/TestCryslTask.json delete mode 100644 plugins/de.cognicrypt.codegenerator/src/main/resources/images/TestCryslTask.png diff --git a/plugins/de.cognicrypt.codegenerator/src/main/resources/TaskDesc/TestCryslTask.json b/plugins/de.cognicrypt.codegenerator/src/main/resources/TaskDesc/TestCryslTask.json deleted file mode 100644 index 4c71920e1..000000000 --- a/plugins/de.cognicrypt.codegenerator/src/main/resources/TaskDesc/TestCryslTask.json +++ /dev/null @@ -1,30 +0,0 @@ -[ - { - "id": 0, - "content": [ - { - "id": 0, - "element": "radio", - "questionText": "What is the type of data you want for your coffee generator", - "answers": [ - { - "value": "Is it int? ", - "defaultAnswer": true, - "option": "Int", - "nextID": -2 - }, - { - "value": "Is it String?", - "option": "String", - "nextID": -2 - } - ], - "note": "", - "tooltip": "", - "message": "" - } - ], - "nextID": -1, - "helpID": "" - } -] \ No newline at end of file diff --git a/plugins/de.cognicrypt.codegenerator/src/main/resources/Tasks/tasks.json b/plugins/de.cognicrypt.codegenerator/src/main/resources/Tasks/tasks.json index 8a12df622..898d2ba4b 100644 --- a/plugins/de.cognicrypt.codegenerator/src/main/resources/Tasks/tasks.json +++ b/plugins/de.cognicrypt.codegenerator/src/main/resources/Tasks/tasks.json @@ -1,54 +1,42 @@ -[ - { - "name": "Encryption", - "description": "Encrypting data", - "taskDescription": "When this use case is selected, CogniCrypt generates code for encrypting data. You can select which kind of plaintext (String, File, Byte[]), you wish to encrypt, as well as how to communicate the secret necessary for decryption.", - "image": "lock", - "codeGen": "CrySL", - "isSelected": false - }, - { - "name": "SecurePassword", - "description": "Encode Password for Secure Storage", - "taskDescription": "To implement this use case, CogniCrypt generates code that transforms a password such that it can be securely stored e.g. in databases or files. The generated code also facilitates a retrieving this password from the storage in order to verify it with a new given one.", - "image": "key", - "codeGen": "CrySL", - "isSelected": false - }, - { - "name": "SecureCommunication", - "description": "Establish a Secure Network Connection", - "taskDescription": "When selecting this use case, CogniCrypt generates code to implement a secure communication channel. You can choose what protocol this channel should follow (e.g., TLS/SSL vs. HTTPS) and if the server or client side should be implemented.", - "image": "wifi", - "codeGen": "XSL", - "isSelected": false - }, - { - "name": "DigitalSignatures", - "description": "Digitally sign documents", - "taskDescription": "In this cryptographic use case, code is generated that digitally signs data and verifies existing signatures.", - "image": "signing", - "codeGen": "CrySL", - "isSelected": false - }, - { - "name": "SECMUPACOMP", - "description": "Secure multi party computation", - "taskDescription": "For this task, CogniCrypt generates code that may apply the same function to multiple inputs from different parties without revealing each party\u0027s input to anybody else involved. ", - "image": "mpc", - "codeGen": "XSL", - "isSelected": false - }, - { - "name": "TestCryslTask", - "description": "TestCryslTask", - "taskDescription": "description of task", - "image": "TestCryslTask", - "codeGen": "CrySL", - "additionalResources": "", - "questionsJSONFile": "src/main/resources/TaskDesc/TestCryslTask.json", - "modelFile": "", - "codeTemplate": "src/main/resources/XSLTemplates/TestCryslTask.xsl", - "isSelected": false - } +[ + { + "name": "Encryption", + "description": "Encrypting data", + "taskDescription": "When this use case is selected, CogniCrypt generates code for encrypting data. You can select which kind of plaintext (String, File, Byte[]), you wish to encrypt, as well as how to communicate the secret necessary for decryption.", + "image": "lock", + "codeGen": "CrySL", + "isSelected": false + }, + { + "name": "SecurePassword", + "description": "Encode Password for Secure Storage", + "taskDescription": "To implement this use case, CogniCrypt generates code that transforms a password such that it can be securely stored e.g. in databases or files. The generated code also facilitates a retrieving this password from the storage in order to verify it with a new given one.", + "image": "key", + "codeGen": "CrySL", + "isSelected": false + }, + { + "name": "SecureCommunication", + "description": "Establish a Secure Network Connection", + "taskDescription": "When selecting this use case, CogniCrypt generates code to implement a secure communication channel. You can choose what protocol this channel should follow (e.g., TLS/SSL vs. HTTPS) and if the server or client side should be implemented.", + "image": "wifi", + "codeGen": "XSL", + "isSelected": false + }, + { + "name": "DigitalSignatures", + "description": "Digitally sign documents", + "taskDescription": "In this cryptographic use case, code is generated that digitally signs data and verifies existing signatures.", + "image": "signing", + "codeGen": "CrySL", + "isSelected": false + }, + { + "name": "SECMUPACOMP", + "description": "Secure multi party computation", + "taskDescription": "For this task, CogniCrypt generates code that may apply the same function to multiple inputs from different parties without revealing each party\u0027s input to anybody else involved. ", + "image": "mpc", + "codeGen": "XSL", + "isSelected": false + } ] \ No newline at end of file diff --git a/plugins/de.cognicrypt.codegenerator/src/main/resources/images/TestCryslTask.png b/plugins/de.cognicrypt.codegenerator/src/main/resources/images/TestCryslTask.png deleted file mode 100644 index aec017b9d148eb0f9e9be4f2a3f2ae4da70336a1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3398 zcmV-M4Y~4(P)plBy-}%x_ z;`viGyWSnocMF5|2?+@aA)ADefR7D`FjzPku>lba4;v7{@UQ`~0TE3Cg7G8V8M1!; zdTQFVDJ@;Pl$tbYqARY?pFdOe>eVT7cV!;vCIqUX<_Q<5Y}RA1uTw{H|HRxCwZ zKtKRZnlwrCrCYXaNz0cnSF~f5#f}|Y2vCFqo;`ayfh>x_LZ}r22?hrTldrEY{rU4p7U+{FPbgKYRGI?D zp}u3s4!J!>j2MLN%oX|g_$Zp+ym>>35+(ZQt3)_JAQ1@v*|TS|a8|Eg?eaGC@#9B| zA3wfAn0mi>^v81&O`krUx^?Sj1EMB@x^?T)rcImVrY>E&(9D@LP5t8a02w@ZFpU{A zMjo?d$&z&B$PpV5H3^I!J(`9L86r2;s#VLOW0={3^Z;4BcrmqY+g2VjZQ8W-@Zm!n z5H$%vF~l|{QOAxQY0jKEmI5+z(;GXHXv#e$d)aeLO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