exactly. you can not feel shame if you know what you did is not wrong. you can feel resentment when you arent wrong, but if you arent wrong then shame is impossible. its is absolutely required to know you have done something wrong to feel shame.