* Improve ErrInvalidKeyType error message
* add specific expected type to error message
* fix ErrInvalidKey error to ErrInvalidKeyType in rsa and rsapss
* format
* revert changes from example_test.go remove the comments
* fix: udpate the signing names to uppercase
* Moving `DecodeSegement` to `Parser`
This would allow us to remove some global variables and move them to parser options as well as potentially introduce interfaces for json and b64 encoding/decoding to replace the std lib, if someone wanted to do that for performance reasons.
We keep the functions exported because of explicit user demand.
* Sign/Verify does take the decoded form now