Added ASN1IllegalCharacter exception.

With this change it will be way easier to check what kind of error it is.
I blindly rewrote that based on previous string format :(