smart contracts

2018-03-21 11:53:22

I am wondering if someone has met the following notion:

Say you have a (not trusted) server and you sign a smart contract with the server. The point is to allow the server to compute only specific functions on some data using your decryption key. Is there any protocol (smart contracts or attributed based) that allows the server to use your decryption key and the client has some control on how the server uses the decryption key?

Is this a valid scenario?