This is a task for public key encryption. It takes as an input a plaintext and a public key and produces a ciphertext as an output.
2 data objects (public key, data)
1 data object (ciphertext)
Restriction: task must have at exactly two input and one output data objects
Error: exactly 2 inputs and 1 output are required
Restriction: “inputData” property must exist under stereotype details object - “inputData” must have been selected and saved and “inputData” information must not have been deleted from model’s file
Error: inputData 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: key is undefined
Restriction: input data object fixed (by its id) in “inputData” property must exist also on model
Error: input data 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: input data and key objects must be different data objects - they must have different ids
Error: input data and key must be different objects
Restriction: key data object must have PKPublic stereotype
Error: key object must have PKPublic stereotype