Refactor application of transforms in verification

* Support base64 transform

* Support application of different canonicalization algorithms to signature and payload