Raise error on wizard when the user enter unsupported characters for CA fields

We are calling a private method from outside the module. Shouldn't we make it public?