Section 173 (1) of the Criminal Code: Indecent acts
173 (1) Everyone who wilfully does an indecent act in a public place in the presence of one or more persons, or in any place with intent to insult or offend any person,
(a) is guilty of an indictable offence and is liable to imprisonment for a term of not more than two years; or
(b) is guilty of an offence punishable on summary conviction.
Section 173 (2) of the Criminal Code: Exposure
(2) Every person who, in any place, for a sexual purpose, exposes his or her genital organs to a person who is under the age of 16 years
(a) is guilty of an indictable offence and is liable to imprisonment for a term of not more than two years and to a minimum punishment of imprisonment for a term of 90 days; or
(b) is guilty of an offence punishable on summary conviction and is liable to imprisonment for a term of not more than six months and to a minimum punishment of imprisonment for a term of 30 days.