S= S1, S2
S1=Upload Data
S2=Download Data
S1= I1, O1, F1
Where, I1 Represent set of inputs
I1= fI11, I12, I13, I14, I15
I11=Enter username and password.
I12=Enter master key.
I13=Upload data.
I14=Upload input class.
I15=Upload trapdoor and owner identity.
F1=Set of functions.
F1=fF11,F12,F13,F14,F15 F11=Login to the system.
F12=Encryption.
F13=Data Uploading.
F14=Data sharing.
F15=Trapdoor generation
O1=Represent set of Outputs
O1=fO11,O12,O13
O11=Stored encrypted data on cloud.
O12=Generate aggregate key
O13=Generate aggregate trapdoor.
S2= fI2, F2, O2g
Where,
I2= fI21, I22, I23, I24g
I21=Enter username and password.
I22=Aggregate key.
I23=Aggregate trapdoor
F2=fF21,F22,F23