Add more modern crypto algorithms
This PR adds support for more crypto algorithms. Cryptographic standards are always evolving, as new attacks are discovered over time and some older algorithms fall out of usage.
Looking at the XML Signature Syntax and Processing Version 2.0 standard and the corresponding RFC 4051 there are additional crypto algorithms which would ideally be supported.
Given that older algorithms like SHA-1 are deprecated, it makes sense to allow newer ones to be used for greater future-proofing. Since the golang crypto library has provided the required implementations for many years, we can map the identifiers onto the relevant golang crypto algorithm implementations.
I hope this is helpful, please let me know if you'd like any changes 🙂
This would be extremely useful to me; is there any chance of merging this (and updating lite-idp's dependency) at some point?