A softcam not pays royalties for different CAS systems... so these kind of software who emulates a conditional access system are quite illegal too.
If you compile the CAM yourself, in the privacy of your own home, you're safe. At least, in European countries you cannot be charged (or sued) for patent infringement as an individual. Legislation in other countries is probably similar on that topic.