restructure, clean up, comment this code so that it can be more easily understood (side-effect of trying to debug the current problem with attribute signing).
restructure, clean up, comment this code so that it can be more easily
understood (side-effect of trying to debug the current problem with
attribute signing).



rhansen/rpstir,rhansen/rpstir,rhansen/rpstir,rhansen/rpstir,rhansen/rpstir