If digitally signed application is protected it will be changed (modified, encrypted) during protection process and this will invalidate original digital signature.

This means that you should not protected previously digitally signed application. You should first protect application and then digitally sign it.

Knowledge base