added a flag to indicate whether a share proposal is encrypted or not.