Due process relates to such laws by mandating that people have fair notice and an understanding that a failure to take affirmative action could result in criminal penalties. Without clear communication of these obligations, enforcing penalties violates the principle of fair notice inherent in due process protections.
For example: A jurisdiction requires homeowners to register their security alarms with the local police; however, if this requirement is not made public knowledge through adequate notice, penalizing non-registered homeowners would contravene due process.