More accurate certificate detection using idendities so code signing will work.