i have already asked a little similar question here but i am asking it in a different way and a little change. now my question is. is it possible to have a public key on the server side through which i can encrypt the message and have a private key on the client side with which i can decrypt the message , and this private key must be expire automatically after a given period of time (or must be so secured may be in some other way)?
so is possible? and if yes, how?
provided that i am using SJCL right now (though i don't have any constrain i just find it good till yet).
any help is greatly appreciated.